Posts
Under the hood of the Duplicator addon
May 21st, 2022 - In this article, I go under the hood of my Duplicator addon for Statamic and dig into the code that makes it work.
CSV Exporter for Statamic
March 29th, 2022 - I recently built a CSV exporter addon for Statamic which lets you select collections you wish to export, then download them.
Tailwind CSS 3 is awesome! š
March 18th, 2022 - I've finally got round to playing with Tailwind CSS 3 on some fresh projects & and it's great!
My Documentation Sites: How they work
February 19th, 2022 - Last year, I unified my docs sites for my addons. They use a Laravel app which pulls content from each addon's GitHub. Thought it would be interesting to share how it works...
Open-source development packages we've released so far in 2021
August 3rd, 2021 - I wrote a little about the recent open-source packages we've released at Steadfast Collective.
Using Statamic on Laravel Vapor
June 22nd, 2021 - When setting up Statamic with Laravel Vapor, there's a couple of things to watch out for. I cover them in this post.
Testing with Stripe Elements in Laravel Dusk
February 20th, 2021 - You need to test payments, probably the most important part of your web application. Well, here's a real simple way to do that with Dusk.
Get rid of red bars in Sketch
February 13th, 2021 - Red bars can be annoying, especially if you can't get rid of them. They defiantly drove me round the bend.
Install Imagick with Laravel Valet
December 10th, 2020 - Quick tutorial on installing Imagick on Mac, alongside your Laravel Valet installation.
When you accidentally block Forge from your server.... š¤¦āāļø
November 28th, 2020 - Ever accidentally made a Firewall rule that blocked Forge from your server. What a dumb developer thing to do... no worries though, here's how to fix it.
Introduction to Fabric
November 1st, 2020 - A little about Fabric - a thing I built to quickly scaffold PHP, Laravel and Statamic packages. (it's got a video too)
Simple Commerce has launched!
August 15th, 2020 - The story of me building Simple Commerce - my e-commerce Statamic addon. It's taken months from prototype to launch but I think it's an awesome product.
Fix HTTPS issue in the Statamic 3 Control Panel
July 29th, 2020 - Sometimes with the Statamic Control Panel and HTTPS you can run into issues where assets and network requests don't work properly. Here's a single line of code to fix that problem.
How to Bypass Composer's Memory Issue
June 3rd, 2020 - Sometimes when you're running new versions of Composer you'll run into memory issues. Here's a quick solution to bypass it.
Building a Likes addon in Statamic 3
April 14th, 2020 - This post walks you through the process of building a Statamic Likes addon, from bootstrapping to writing the code and setting up tests.
Move S3 objects from one AWS account to another
April 11th, 2020 - A really simple tutorial on copying objects over from an old AWS account to a new one.
Use Laravel's Maintenance Mode in Statamic
March 16th, 2020 - Now that Statamic is just a package inside a Laravel application, it means you can take advantage of Laravel features. There's a Laravel feature called Maintenance Mode which means visitors will see a 'site down' message.
Setting up for Statamic addon development
January 19th, 2020 - Setting up for developing a Statamic 3 addon can be tough. Especially if you've never done package development before. In this post, I guide you through the process of getting everything setup.
2019 Year in Review
December 13th, 2019 - I've never written one of these before but I thought it would be a good time to start, especially as I've had a year where quite a few things changed in my life.
Story of my accidental £1.7k bill from Google Cloud Platform
November 25th, 2019 - This was a very stressful hour and a half. Somehow my servers went rouge, tried to process 50,000 jobs at once. Each of those calls hit a Google API, racking me up a total in the region of £2700+. Thankfully, I managed to get it adjusted.
How to Force Remove Service Worker from Chrome
November 6th, 2019 - Recently, I've been working on building a Progressive Web App for a web application of mine. However in the process I somehow managed to cache the main page of my app, meaning users with the worker installed were stuck with the same HTML. I managed to figure out how to fix it.
Setup Statamic v2 on Laravel Forge
September 14th, 2019 - Every site needs to be hosted, and your Statamic site is no different. The recommended solution is a combination of Digital Ocean and Laravel Forge to handle your hosting and provisioning respectively.
Update Customer in Stripe using Laravel Cashier
June 6th, 2019 - I've just had the situation where I needed to setup my Laravel app to update my customer's information in Stripe when they change it in my app. The method I used to do this is actually undocumented on the official Laravel Cashier documentation, I found it while I was looking through the Cashier code.
How I built a Web Scraper to create a Bin Collection API
January 4th, 2019 - A few months back I wrote some code that would go to my local council's website, search for a street name, open the link, get the bins for that week. When I got it working I was amazed at how easy it was. I was able to just take out content from another site and present it however I wanted.
Using Vuex to store authentication in Local Storage
December 28th, 2018 - I'm currently RebuildingĀ BiblioSpotĀ as a standalone Vue app which fetches data from our private API. At the start of the project, I was wondering, how I should go about handling Authentication? I tried out a few different solutions but this one seems to work, so I'm going to go along with it.
CoderDojo Bridgeton Website
January 28th, 2018 - For the last year and a half I have been building theĀ CoderDojo BridgetonĀ website. A large portion of that time was spent creating a static prototype with HTML and CSS.