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.

Statamic
Advanced Table fieldtype prototype for Statamic A client needed comparison tables that could adapt to mobile layouts, so I started prototyping a Statamic fieldtype that keeps the underlying content structured. 7 Aug 2024 5 min read
Statamic
“Blueprints, Fields and Fieldsets in Statamic” A cinema website gave me a practical way to introduce Statamic’s content structure, building movie details with Blueprints, Fields and Fieldsets at PHP Adelaide. 2 Aug 2024 1 min read
Personal
I'm back (again) at Laracon AU Returning to the Laracon AU stage in Brisbane brought plenty of excitement, with another chance to share something meaningful among a community I’d enjoyed meeting. 17 Jul 2024 1 min read
Statamic
Caching Laravel routes with Statamic's static cache Custom Laravel routes can still belong to a Statamic website, and I found a way to give their rendered output static caching while drawing content from an external application. 15 Jul 2024 7 min read
Statamic
Advanced static cache usage with Statamic and an external Laravel app Keeping time-sensitive content fresh across a Laravel app and a Statamic website led me to selective cache clearing, while retaining the benefits of full static pages. 8 Jul 2024 8 min read
Statamic
How to set a custom logo for dark mode in Statamic Our dark logo disappeared against Statamic’s new dark Control Panel, so I contributed a separate setting that lets each theme use a suitable version while keeping configuration straightforward. 22 May 2024 2 min read
Laravel
Be less eager: using without() alongside $with in Laravel Eager loading is handy until a nested relationship brings along data you don’t need, so I used a query constraint to make an exception without changing the model’s defaults. 24 Apr 2024 4 min read
Statamic
How to use custom Laravel ValidationRule rules in Statamic Contributing support for Laravel’s newer validation rules opened up more flexible checks in Statamic, including reusable rules that accept their own configuration parameters. 5 Mar 2024 3 min read
Laravel
How to eager load relations for a model with Spatie’s Laravel Options Adding a related model’s attribute to an options list exposed an N+1 problem, and passing an eager-loaded query to Spatie’s Laravel Options package brought those database lookups under control. 15 Feb 2024 2 min read
Statamic
How to use Blink to improve complex tag performance in Statamic Running the same expensive lookup in several tag methods adds up quickly, and Statamic’s Blink cache helped me share the results across related operations within a single request. 9 Feb 2024 4 min read