ryangjchandler.co.uk

(laravel, javascript, rust and more)

PHP

Creating an `Option` Type in PHP

Let's take a look at how we can create a custom Option type to handle optional values in PHP.

Declaring Expectations Against Array Items in Pest

Let's look at how we can use Pest's Expectation API with array items.

All About Match Expressions

Let's take a look at PHP's match expression.

Highlight Laravel Blade Templates with Highlight.php

Out of the box, Highlight.php doesn't support Laravel Blade templates. I'll show you how to register a custom syntax so that you can start highlighting your Blade content.

Parsing Markdown with PHP: Autolinking and Strikethrough

Let's take a look at how you can extend the CommonMark converter to make working with links easier and allow you to strikethrough text.

Parsing Markdown with PHP: Getting Started

Markdown is a great way of making notes, writing articles and generally managing content. Let's take a look at how quickly you can begin using Markdown in your PHP applications.