Blog

Code, ideas and everything in between.

I write about web development with Laravel, Livewire and Statamic, share tools I've built, and reflect on creativity, productivity, mental health and life outside of code.

Gaming
Sackboy: A Big Adventure Sackboy’s colourful adventure brought plenty of charm to my PS5, with inventive levels, a playful soundtrack and demanding challenges making Craftworld somewhere I kept wanting to revisit. 28 Nov 2021 10 min read
Statamic
Adding watermarks to images in Statamic 3 Rebuilding my photography website gave me a reason to automate image watermarks, keeping their sizing and placement consistent without preparing every upload by hand. 4 Nov 2021 16 min read
Alpine.js
Using Alpine.js in a Netlify form A form that worked locally disappeared from Netlify’s detection after deployment, and tracking down the cause revealed an awkward interaction with Alpine’s submit attributes. 28 Oct 2021 5 min read
Statamic
Conditionally including partials in Statamic 3 using the new 'exists' and 'if_exists' tags A missing optional partial shouldn’t bring down an entire page, so I contributed helpers that let Antlers templates check for files or quietly continue when an include isn’t available. 5 Oct 2021 6 min read
Statamic
Statamic 3's 'please' spec for Fig Seeing how Fig builds its command suggestions inspired me to contribute a Statamic spec, bringing autocomplete for commands, arguments and options to the terminal’s ever-so-polite please command. 1 Oct 2021 3 min read
Gaming
Kena: Bridge of Spirits Kena’s beautiful world caught my attention, but its focused adventure, charming companions and demanding encounters gave me more to enjoy than the animation alone. 27 Sep 2021 7 min read
Statamic
Singular and plural modifiers in Statamic 3 Getting result labels to read naturally is a small detail, but Statamic’s singular and plural modifiers offer a useful starting point for those finishing touches. 19 Sep 2021 3 min read
Statamic
Filtering entries by Taxonomy in Statamic 3 using AND or OR logic A client needed several taxonomy filters with different matching rules, so I built a Statamic tag that combines AND and OR conditions while keeping control over its underlying query. 4 Sep 2021 7 min read
PhpStorm
Reformat code on save in PHPStorm 2021.2 A change in PhpStorm’s caret behaviour disrupted my formatting macro, prompting an adjustment to how it saved files and a discovery about the editor’s new built-in save actions. 2 Aug 2021 3 min read
Inertia
@inertiajs/inertia 0.10.0 and Laravel Jetstream: update the Head and Link component usage Updating an older Jetstream project to Inertia 0.10 broke some familiar components, and tracing the error revealed changes to how Head and Link needed to be registered or imported. 23 Jul 2021 3 min read