Package: Easily create application users in Laravel

June 12th, 2017

If you've ever found yourself in a situation where you need to quickly whip up a new application user and fire off a password reset email, this might be the package for you.

Presentation: PHP in 2017

May 23rd, 2017

Originally presented at the PHP Adelaide meetup in May 2017, this talk aims to serve as a very high-level overview of concepts, groups, and methodologies modern PHP developers should be considering.

Elegant form handling in Laravel

May 15th, 2017

There are a number of different ways to handle forms in Laravel, whether using helpers or writing HTML by hand, but I consider this approach elegant and easy to work with in most cases.

Partial model updates in Laravel

March 27th, 2017

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 simpler way: intersect!

Single action controllers in Laravel

February 24th, 2017

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.

Environment variables, config caching, and Laravel

February 6th, 2017

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 with Laravel Valet

January 18th, 2017

Switching PHP versions when using Laravel Valet is simple with just two brew commands.

Review: Laravel up and Running by Matt Stauffer

December 15th, 2016

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!

On the Laravel Certification Program

September 2nd, 2016

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 entirely convinced.

Better handling of TokenMismatchException in Laravel

July 24th, 2016

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.