PHP courses

Course
PHP
PHP Enums

Enums represent a typed set of possible values in PHP. For example, if you're storing a Book that can have a status of __want to read__, __reading__ or __read__, an Enum will hold these values in one place that you can reference anywhere. Prior to PHP 8.1 (when Enums were added), you'd have to work with a simple class with constants. While that works fine, it doesn't provide much power under the hood. In this course, we'll look at the power of Enums and how they can drastically simplify your code.

7 episodes
31 mins
Course
PHP
New in PHP 8

PHP 8 boasts some great additions. Here's a practical look at the changes most likely to affect your day-to-day development.

11 episodes
1 hr 3 mins
Course
PHP
New in PHP 7.4

Here’s a look at the additions and changes in PHP 7.4 that are most likely to improve or affect your day-to-day development.

12 episodes
44 mins
Course
PHP
PHP Arrow Functions

Arrow functions (also known as short closures) have been available since PHP 7.4. This course covers everything you need to know about them, while considering if they’re always the best solution to reach for.

6 episodes
27 mins
Course
PHP
Array Destructuring in PHP

When you need to pull values from arrays, destructuring often makes sense. In this course, we'll dive into everything you need to know about destructuring arrays in PHP.

9 episodes
23 mins
Snippet
PHP
How middleware works

A low level overview of how middleware runs in your favourite framework. Starting with a simple app example, we'll build a middleware manager, add middleware to a stack, and run it.

1 episode
20 mins
Course
PHP
Build a PHP Validator From Scratch

A validator featuring rule objects, string rule mapping, wildcard validation and more. All built completely from scratch with zero dependencies.

18 episodes
1 hr 53 mins
Course
PHP
All About Exceptions

Let's cover everything you need to know about exceptions in PHP.

7 episodes
1 hr 51 mins
Course
PHP
Every PHP Magic Method

A practical dive into every PHP magic method. You might never use them all, but they're well worth knowing, just in case.

17 episodes
1 hr 55 mins
Course
PHP
The Pagination Builder

Let's build PHP pagination from scratch, creating an algorithm to build page links, and a formatter to transform links into an HTML view.

10 episodes
1 hr 4 mins
Course
PHP
Slim
Roll your own Facades

Popularized by Laravel, Facades hide underlying classes and allow normal methods to be invoked as static methods. With a pinch of magic, we're going to create our own!

4 episodes
18 mins
Course
PHP
Slim
JWT Authentication from Scratch

Building an API? Using Slim, we'll learn how to build clean, simple JWT authentication that you can fit into the framework of your choice.

14 episodes
1 hr 24 mins
Course
Laravel
PHP
Action-Domain-Responder (ADR) with Laravel

ADR is a user interface pattern much better suited to the web than MVC (Model-View-Controller). Let's implement this in the Laravel framework and see how it works.

10 episodes
1 hr 16 mins
Course
PHP
Slim
Action-Domain-Responder (ADR) with Slim

ADR is a user interface pattern much better suited to the web than MVC (Model-View-Controller). Let's implement this in the Slim framework and see how it works.

7 episodes
55 mins
Snippet
PHP
Cleaning up code with dynamic method calling

Here's a popular pattern for diverging and dynamically calling a method based on an event, instantly cleaning up huge lists of conditionals.

1 episode
17 mins
Course
PHP
The "No Framework" Framework

It's not a framework, it's an awesome project structure built from the ground up. Routing, service providers, powerful database integration, authentication, validation, flash messages and so much more.

46 episodes
6 hrs 51 mins