-
Valet-Linux on WSL Ubuntu: Windows 11Valet-Linux on WSL Ubuntu: Windows 11
Valet is Laravel’s tool for local development. It simplifies managing Nginx and PHP when working on multiple projects. I’ve always used Docker to power my development environments, but I’ve recently decided to pivot to installing and managing my LAMP stack directly in my Ubuntu WSL environment.
17 December 2024 -
How To Correctly Size WordPress ImagesHow To Correctly Size WordPress Images
This is a bit of a minefield topic, as there are a lot of plugins and ‘solutions’ out there that require you to pay money or install bloated software to accomplish something WordPress is designed to handle.
10 October 2024 -
Hosting Updateable WordPress Plugins on GitHubHosting Updateable WordPress Plugins on GitHub
If, like me, you enjoy writing custom plugins for WordPress, you may know the daunting feeling of managing the versions of your plugins across many websites. While you can use a PHP package manager like Composer for your plugins, this isn’t appropriate for most WordPress deployments.
3 October 2024 -
Testing Laravel & Livewire in Github ActionsTesting Laravel & Livewire in Github Actions
When running a Laravel test suite with Livewire components, the default workflow file provided by GitHub for Laravel likely won’t pass. When using their default config, I was presented with errors such as this:
19 August 2024 -
Remove the ‘Website’ field from the WordPress comment formRemove the ‘Website’ field from the WordPress comment form
How to remove and re-order the default comment form fields used in WordPress. In this post, I demonstrate removing the 'Website' field, and adjust the other form fields accordingly.
15 July 2024 -
YouTube API with Laravel & Guzzle HttpYouTube API with Laravel & Guzzle Http
In my Hermitclock project, I’ve set up an integration with the YouTube API to pull in recent uploads from the content creators who play on the Hermitcraft server. If you’re interested, you can read more about Hermitclock here.
18 June 2024 -
Add a Honeypot to Livewire Volt FormsAdd a Honeypot to Livewire Volt Forms
Livewire allows you to build ‘Powerful, dynamic, front-end UIs without leaving PHP’. For me, as a PHP fanboy, it’s quickly becoming my bread and butter for creating reactive components all within the comfort of my own backyard.
10 June 2024 -
Local PHP development with Docker ComposeLocal PHP development with Docker Compose
This post will cover how I host local copies of PHP websites running WordPress and Laravel with Docker Compose. This removes the need to install PHP, Composer, Nginx/Apache, MySQL, NPM/Node, etc locally on your host machine.
5 April 2024 -
A Guide to Optimising Image Sizes in DiviA Guide to Optimising Image Sizes in Divi
Within web design, images are central to user experience. However, unoptimised images can significantly slow down your website. For Divi users, fine-tuning image sizes can vastly improve site speed and performance.
5 January 2024 -
View and dequeue excess scripts in WordPressView and dequeue excess scripts in WordPress
One of the larger issues with WordPress, in my opinion, is the amount of bloat that it delivers from page to page. This happens because WordPress software is distributed as Plugins and Themes that tend to ship with a larger functionality than each user may require.
6 May 2023 -
Set WordPress featured image on publishSet WordPress featured image on publish
If you manage a WordPress blog, you know that creating unique featured images for each post can be time-consuming, especially for shorter posts. Wouldn’t it be great if you could standardise your featured images based on each post’s category?
5 May 2023