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
Syntax Error, Line 1: PHP 8.6 Finally Tells You Where Your JSON Broke
PHP 8.6 adds the line and column of the failure to every JSON error message. Here is how to wire that into a Laravel app so bad webhooks diagnose themselves.
declare(strict_types=1) in Laravel: What It Actually Changes
strict_types is per-file and caller-side, and it governs far less than most people assume. Here is exactly what it checks, what it ignores, and how to roll it out across an existing Laravel app.
Nested Modals Without Losing Your Place: Filament's Stacked Action Modals
A user fills in six repeater rows, opens a nested action to create a missing address, and comes back to an empty form. Filament's overlayParentActions() is the one-line fix, plus the focus and validation work it does not do for you.