Articles

Or more accurately, word dumps.

Setup MailHog with Laravel Valet

Testing emails can be a pain. Luckily, there are plenty of tools out there that can make the process a lot easier. Let me show you how to setup MailHog, a local development tool for testing emails.

Published 1 month ago | Updated 1 month ago

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.

Published 3 months ago | Updated 3 months ago

Unconventional Laravel: Responsable classes

Sometimes your controllers can get rather large, especially if you have lots of conditions and data formatting. Have you ever considered moving some of that complexity out into a dedicated response class?

Published 4 months ago | Updated 4 months ago

Unconventional Laravel: Middleware-as-a-Service-Provider

Have you ever used a service provider to set a default value for a third-party library? Have you ever done this based on the current request or URL? Have you ever considered doing this inside of middleware instead?

Published 4 months ago | Updated 4 months ago

Unconventional Laravel: Custom Pipeline Classes

Laravel makes use of the internal `Pipeline` class and it's more common in userland too, but have you ever considered tidying up these pipeline processes with custom pipeline classes?

Published 5 months ago | Updated 5 months ago

Writing Reusable Alpine Components

Reusability is important when it comes to scaling projects and future-proofing the maintainability of a project. Let's take a look at how you can write more re-usable components in Alpine.

Published 5 months ago | Updated 5 months ago