Dwight Watson's blog

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

Follow me on Twitter, or GitHub.

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…

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…

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…

Rails 7 introduced a new feature to pre-define your ActiveStorage variants to allow re-use throughout your app. Unfortunately one of the top…

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…

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…

I recently launched HighSchoolNotes.com.au into another region HighSchoolNotes.co.nz. Under the hood this is the very same Laravel app…

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…