Blog

Articles on Laravel.
Statamic
Index Fieldtypes in Statamic Custom fieldtypes deserve useful list views as well as good editing interfaces, and Statamic’s Index Fieldtypes let me tailor how their data appears in the Control Panel. 19 Oct 2023 5 min read
Statamic Addons
Logger for Statamic A client wanted a clearer record of changes in Statamic, so I built an addon that turns user actions into readable logs, with browsing and downloads in the Control Panel. 13 Oct 2023 6 min read
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