Blog

Articles on Laravel.
Statamic Addons
Using Dynamic Token in Statamic 3 and full static caching Before Statamic handled dynamic tokens itself, pairing an addon with full static caching offered a way to keep forms working while retaining the speed of cached pages across the site. 1 Jul 2021 3 min read
Statamic
Using multiple domains with a multi-site in Statamic 3 Replacing separate static landing pages with editable content led me into Statamic’s multi-site features, with different domains sharing one application and some useful discoveries. 29 Jun 2021 10 min read
Statamic
Pull request: add “form” to Submission array Identifying which form produced an email should be simple, so a small Statamic contribution helped make shared submission templates more useful across multiple forms. 18 Jun 2021 3 min read
Statamic Addons
Building an Atom and RSS feed generator for Statamic 3 Wanting to follow my Statamic posts through a feed reader led me to build an RSS and Atom feed addon, exploring entries, caching and feed auto-discovery along the way. 16 Jun 2021 9 min read
Statamic Addons
Creating a Bard addon for adding a class to inline content for Statamic 3 Giving fitness class names their own styling became a useful excuse to build a Bard addon, exploring custom buttons, editor commands and how Statamic 3 renders the resulting markup. 5 Jun 2021 27 min read
Personal
Developer Marty 2.0 A shift towards Laravel, Statamic and a different frontend toolkit helped me rediscover the enjoyment of development, while changing how we approach projects at Mity Digital. 1 Jun 2021 8 min read
Statamic Addons
Creating a TinyMCE addon for Statamic 3 Combining TinyMCE with Statamic became a chance to learn more about addons, and give clients a familiar editing experience with the flexibility to configure the features their content needs. 22 Dec 2020 7 min read
Laravel
Policies and Route::apiResource in Laravel An unexpected 403 from a Laravel API resource sent me investigating route parameters, and the naming difference that stopped my policy recognising the model passed into its controller. 25 Sep 2020 4 min read
Laravel
Deleting data: soft, hard or audit? Recovering accidentally deleted records is useful, but keeping them forever brings its own complications, so I weigh up soft deletes, hard deletes and audit logs. 8 Jul 2020 10 min read
Tailwind CSS
Exploring Tailwind CSS in Laravel Trying Tailwind on a real Laravel project helped me get past my doubts about utility classes, and reconsider how reusable styles and custom interfaces fit into my workflow. 24 Feb 2020 8 min read