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
Manage Laravel AI SDK Prompts as Versioned Blade Templates
Heredoc prompts buried in service classes cannot be diffed, reviewed or rolled back. Here is how I move them into versioned Blade templates that CI can catch.
Skip Re-Rendering Livewire 4 Actions with #[Renderless]
An analytics ping shouldn't re-render your component and ship a DOM diff. Livewire's render phase is opt-out — here are the three ways to skip it, and when skipping it silently breaks your UI.
Communicate Between Livewire 4 Components with dispatch and #[On]
Props flow parent-to-child, but sending data back up or sideways needs events. Here is how dispatch(), #[On] and targeted dispatches actually behave in Livewire 4.