Neon Tsunami

A blog about Laravel & Rails, written by Dwight Watson.

Route model binding is a great feature to automatically fetch an Eloquent model when it's injected into a controller method - saving you…

I've written previously about monkey-patching the ActiveStorage representations controller in order to proxy content so that it could be…

Recently we migrated a website to use Apple's MapKit JS service - one that is currently in beta, but comes with plenty of daily quota for…

I ran into trouble installing the PHP Redis extension installed on my Mac. Homebrew no longer installs PHP extensions and instead suggests…

ActiveStorage is new in Rails 5.2 and it provides an integrated way to handle file uploads. It can store files on a cloud provider of your…

Laravel recently introduced a number of query builder helpers for writing where clauses that act upon dates. There's a whole host of them…

Sometimes it makes sense that you'll want to generate links back to your app from components of your app that don't have access to Rails…

Many Laravel developers will build their front-end assets locally before deploying a new release and the framework ships out-of-the-box to…

Simple post today, but turns out Laravel has a simple feature that lets you configure the reply-to email address at a high level. Take a…

Laravel's authentication scaffold is a great way to get your app off the ground quickly - both because of the time it saves you from the get…