We use cookies on this site to enhance your user experience

By clicking the Accept button, you agree to us doing so. More info on our cookie policy

Blog

Welcome to my blog, where I post tips and tutorials about PHP, Laravel, JavaScript and Web Development

The PHP array

The PHP array

Published: Jul 3, 2021

Arrays are a useful toolt to store multiple values. You can access a specific value in an array using a key. By default, if you don’t specify keys, they will...

Run Laravel artisan commands in PHP Storm

Run Laravel artisan commands in PHP Storm

Published: Jul 2, 2021

PHP Storm has a built in terminal window which you can use to run Laravel artisan commands, but there is a quick configuration change that you can do to make...

Testing Laravel Blade Components

Testing Laravel Blade Components

Published: Jun 16, 2021

Recently I built a Laravel package containing Blade Components for use with the Bulma frontend framework, called Bulma Blade UI. As part of building the package I wanted to ensure...

Testing validation rules in a Laravel Livewire component

Testing validation rules in a Laravel Livewire component

Published: May 25, 2021

Testing validation rules can become quite tiresome pretty quickly if you have to write each test manually. Luckily I’ve found a nice method that allows you to simplify your validation...

The PHP switch statement

The PHP switch statement

Published: May 15, 2021

In the previous article we discussed the if statement, where it said you can have many different elseif statements if you wanted to handle many different scenarios, but it gets...

The PHP if statement

The PHP if statement

Published: May 6, 2021

This is the first of a series of posts I will write that go back to basics and introduce the fundamentals of PHP. In this article I’m going to start...

Trouble at the church book cover

The Little-Astwick Mysteries - Trouble at the Church

A fast paced crime mystery set in the fictional English village of Little-Astwick. David Morgan, a Community Support Officer, new to the area, gets plunged in at the deep end with a new acquaintance, Evelyn McKenzie, trying to figure out what has been going on at the village church.

Available on Kindle, Kindle Unlimited and Paperback.