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
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
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
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
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
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...