A blog about Laravel & Rails by Dwight Watson;
developer of Roomies.com, myRent.co.nz, High School Notes & StudentVIP.com.au.

File uploads and 403 errors with Laravel Nova
Recently ran into an issue where we couldn't upload files/images into Laravel Nova in production. Every time we'd simply get an error "There…
Laravel with Heroku Redis and SSL
Redis 6.x appears to require SSL for connections and that's a problem with Heroku. Heroku does have documentation on how to get around…
Migrating from Laravel Mix to Vite
Laravel's default asset bundler is about to switch from Laravel Mix (Webpack) to a wrapper around Vite. I've had a crack at migrating over…
I've been exploring using Amazon Location Service as an alternative to Google Maps and Mapbox. It has a number of core features like…
In an earlier post I wrote about how to get the rough latitude/longitude of a visiting IP using Cloudflare workers. Since then Cloudflare…
Pre-defined ActiveStorage variants in Rails 7
Rails 7 introduced a new feature to pre-define your ActiveStorage variants to allow re-use throughout your app. Unfortunately one of the top…
Supporting Safari (ES5) with Rails JS bundling/eslint
I recently replaced Webpacker v6 in a Rails app with the new standard of using eslint. Turned out to be a lucky change as well considering…
Deploying to Laravel Vapor with GitHub Actions
I've been using GitHub Actions more and more as a CI pipeline for my Laravel apps. Following a successful build on the master branch I want…
Deploying to multiple Laravel Vapor apps
I recently launched HighSchoolNotes.com.au into another region HighSchoolNotes.co.nz. Under the hood this is the very same Laravel app…
Serving site.webmanifest on Laravel Vapor
For whatever reason Laravel Vapor explictly does not publish your file, and it won't be fixed changed until the next major version. To get…