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.

Personal
I'm speaking at Laracon AU Preparing to speak at my first Laracon AU brought plenty of excitement and nerves, with a chance to share why Statamic belongs in a Laravel developer’s toolkit. 4 Oct 2023 1 min read
PhpStorm
How to configure PhpStorm to use Laravel Herd's PHP Switching to Herd left PhpStorm looking for a PHP installation I’d removed, but getting my tests running again only needed a quick interpreter configuration change. 7 Aug 2023 3 min read
Statamic
How to use the Spacer fieldtype in Statamic 4 Matching a published form to its editable Blueprint takes more than looping over fields, and Statamic 4’s Spacer field helped make those layouts more predictable. 6 Jul 2023 6 min read
Tailwind CSS
Using Laravel to help generate Tailwind CSS class names usages for a user-managed Statamic site Letting content authors choose colours created a specific Tailwind build problem, so I used a Laravel command to generate the class names and variants the editable site needed. 4 Jul 2023 14 min read
Statamic
Sending additional data to all views for Antlers in Statamic using Laravel's View Composers Some data belongs in every template without being managed as a Global, and Laravel’s view composers helped me provide that shared context through a dedicated service provider. 30 Jun 2023 4 min read
Statamic
Checking for an external link in Antlers and Statamic Needing to recognise external links in Antlers led me to contribute a small modifier, bringing Statamic’s existing URL checks into templates for straightforward conditional links and attributes. 27 Jun 2023 2 min read
Statamic
Workaround an image issue with Statamic's SSG Missing images in a client’s static build sent me investigating Statamic’s SSG, looking for a workaround that wouldn’t mean changing package files after every update. 9 Jun 2023 5 min read
Statamic Addons
Updating a Bard addon for Tiptap 2 for Statamic 4 Statamic 4’s move to Tiptap 2 meant revisiting my Bard extension, updating its JavaScript configuration, toolbar button and server-side rendering to keep the same authoring features working. 5 Jun 2023 5 min read
Music
Into My Arms A darker selection of tracks drew me back to the decks, bringing recent discoveries and long-saved favourites together in a slower, more reflective mix with a mood of its own. 3 Jan 2023 2 min read
Laravel
Validating the sum of a property in an array in Laravel Needing several values in an array to add up to a particular total led me to a reusable Laravel validation rule, with configurable properties, target sums and failure handling. 29 Nov 2022 3 min read