Flexible data types with the JSON field

13th October 2019 10:10 pm

Relational databases have many advantages over other data stores. They're (mostly) solid, mature products, they have the means to prevent…

Storing Wordpress configuration in environment variables

22nd September 2019 6:00 pm

Wordpress configuration can be a serious pain in the proverbial. Hard-coding configuration details in a PHP file is not a terribly safe way…

Using Mix versioning outside Laravel

21st September 2019 10:30 am

Laravel Mix is a really convenient front end scaffold, and not just in the context of a Laravel application. Last year, I added it to a…

Setting private properties in tests

7th September 2019 7:16 pm

Sometimes when writing a test, you come across a situation where you need to set a private field that's not accessible through any existing…

Skipping environment specific PHPUnit tests

28th July 2019 7:55 pm

If you're doing client work, you don't generally have to worry too much about working with any services other than those that will be…