Engineering,
taught
&
leadership,
practised.
I'm Steven — CTO at Digitonic, a PHP engineer since 2010 and a keen golfer with a terrible handicap. This is where I write it all down.
Latest from the journal
Stop String-Concatenating URLs: PHP 8.6's UriBuilder
Every Laravel app has a method that bolts a path and a query onto a URL it did not generate, and it is always subtly wrong. PHP 8.6 finally gives the language a typed way to do it.
Upgrade Postgres Under a Live Laravel App with Logical Replication
pg_upgrade needs the database stopped for a window nobody can predict. Logical replication gets you a cutover measured in seconds — if you handle sequences, DDL and your queue workers correctly.
The Eloquent Events That Never Fire
Observers are a convenience, not a guarantee. Half the write operations in Laravel never load a model, so they never fire an event — and nothing tells you.