Thoughts on web development, Laravel, PHP, and solving problems day to day.
From time to time, I will need to perform a PATCH-style - or partial - update of a model via a HTTP request. The first instinct for this might be to use a bunch of conditionals, but there's a
Many Laravel applications will typically follow a RESTful structure, but sometimes, you just want to have a controller responsible for a single action. This is easier than you think.
If you've ever used Laravel's environment-specific configuration in your application and found it not working after caching the configuration, read on to find out why this is the case.
Switching PHP versions when using Laravel Valet is simple with just two brew commands.
Matt Stauffer has released far and away the most comprehensive and accurate book on Laravel development to date - and it shouldn't show its age over time, either!
The Laravel Certification Program was announced at the end of the Laracon EU 2016 conference and got me excited about the possibilities, but I've thought more about it since then. I'm not ent
Have you ever seen your errors filling up with TokenMismatchException errors for routes that don't support POST, or just don't exist? Here's one way to handle the exception better.
Adam Wathan has been a big proponent of Collection pipelines, so much so that he wrote a book on it, which I've had a chance to read (and think you should, too)
Development often leads to adding debug logging to your application, but it's a pain to remove it all before deploying to production. Here's how to work around that.
Testing for JSON responses in Laravel is easy with seeJson, but testing validation errors requires a little bit more work.