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
Route Model Binding Past the Happy Path: Custom Keys, Scoped Children and Enums
Most Laravel apps use one tenth of route model binding — and the default on a nested resource will happily hand a user someone else's record. Here is the rest of it.
Rebuilding Markdown From Plain Text in Laravel Without Letting a Model Rewrite It
Ask a text model to 'add Markdown formatting' and it quietly paraphrases a clause. Two Jev requests and a renderer in PHP give you structure with every character of the source intact.
A Choice Question Always Picks Something: Adding a Companion Noul in Laravel
A Jev Choice question always returns one of your options, even when none of them fit. Pair it with a companion Noul in the same request and let your routing read the Noul first.