Design Patterns: Simple Factory

A simple factory is an object that is used to generate an instance of an object for the client. The simplest way of understanding a factory is a object for creating other objects.

PHP 7.4 New Features

PHP 7.4 comes with a few new features that can help improve performance and make for cleaner code. Here's some of the new features that come with PHP 7.4.

Formatting Exception Messages

Learning about how you can format exception message classes.

Running Xdebug In Docker Container

Learn how to setup phpunit xdebug in a docker container and run your PHPStorm tests using this docker container.

Using Tailwind CSS In Your WordPress Theme

In this tutorial we're going to look into how we can use tailwind css in your WordPress theme.

Easiest WordPress Development Setup

In this tutorial we're going to investigate what is the quickiest and easiest way of getting a WordPress site up and running for development.

Composer Scripts

In this tutorial we're going to investigate how you can store common commands within composer, giving you some handy shortcuts.

Upgrading Laravel 6 - Using Arr And Str In Blade Files

Add array and string helper classes to be used in blade template files.

Laravel Testing Redirect

Learn how to test the redirects in Laravel using the example of assert redirects and the from method to change the HTTP referrer.

LetsEncrypt Certificates Failing to Renew

Learn how to upgrade LetsEncrypt to the latest certbot to renew your LetsEncrypt certificates.

Use v-model On Custom Vue Component

Learn how you can use v-model property with your custom components

JavaScript GroupBy Function

JavaScript helper function to groupBy a value.

Display Human Readable File Storage

Use a command to display the human readable file memory usage.

Disable Laravel Model Events On Factories

Learn how to remove Laravel model events when using database factories

Laravel Read And Write Database Connections

Learn how you can have multiple read and write connections in your Laravel application