A blog about Laravel & Rails by Dwight Watson;
developer of Roomies.com, myRent.co.nz & StudentVIP.com.au.
Uploading files with Laravel Livewire and Laravel Vapor
I've just recently started working with Laravel Livewire, now that it ships as an option with the new Laravel Jetstream. Livewire is a…
I've known about Amazon S3 Transfer Acceleration for a while but haven't had a good use-case. In brief, this feature allows you to speed up…
Introducing nameable
I've been itching to give Laravel's new custom casting feature a go since it landed in 7.0. Cleaning up some of the and attribute…
Separating admin routes in Laravel
A number of projects I've worked on have required custom admin panels that are custom enough that I can't get away with using Laravel Nova…
Logout current device only with Laravel 6
Recently I discovered that the default logout functionality in Laravel actually logs the user out from all their devices. This is because…
Testing Laravel with PHPUnit and GitHub Actions
GitHub recently announced a new release of GitHub Actions which allows you to automate workflows in response to events that occur in your…
Invalid text representation with Laravel route model binding
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…
Using MapKit JS with Rails
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…
Installing PHPRedis with PECL/Homebrew
I ran into trouble installing the PHP Redis extension installed on my Mac. Homebrew no longer installs PHP extensions and instead suggests…