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
When Jev Says No: Handling 400s, 422s and Timeouts in a Laravel Jev Client
The happy-path Jev client handles exactly one case: a 200 with answers in it. Here's what the other seven status codes mean, which of them are worth retrying, and how long anything should be allowed to block.
Livewire 4 Pagination: Named Paginators, Cursors, URL State and the Queries Underneath
One orders dashboard, taken from a naive paginate(25) to a production list: page state in the query string, two independent paginators, cursor pagination with stable ordering, the count query removed, an accessible pagination view, and Pest tests that count the queries.
Stop Base64-ing Your Uploads: Sending Images to Jev as Multipart Parts from Laravel
Base64 makes every Jev image a third bigger and holds four copies of it in PHP memory. Multipart parts fix both, and Laravel's HTTP client builds them in two calls.