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
Migrate a Laravel App from Redis to Valkey Without Changing a Line of Code
A Laravel Valkey migration runbook: what actually differs, how to move the persisted data instead of cold-starting, and how to sequence cache, sessions and queues so a mistake costs a cache miss rather than a lost job.
Stop Wrapping Everything in try/catch: Renderable and Reportable Exceptions in Laravel 13
Your controllers are full of the same three catch blocks. Move the response into the exception's render() method and the log context into context(), and most of them disappear.
Add Soft Deletes to a Filament v5 Resource: Trashed Filter, Restore and Force Delete
The scaffold flag only helps on a brand new resource. Here's the retrofit path for soft deletes on an existing Filament v5 resource — including the query override that fixes the 404 on a trashed record.