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.

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…

Stripe webhooks can be a little bit annoying to verify. In Laravel I've generally done it using the method of a FormRequest. The…

A number of apps I've worked on have used HTTP request geolocation to show content that's relevant to the user. Not in a creepy way (where…