#PHP

Articles tagged PHP

All blog articles tagged PHP.

Adapter Pattern in Laravel: Own the Boundary Around a Third-Party SDK

A payment, shipping, or CRM SDK is an external language. Its objects, error types, payload fields, release cadence, and HTTP assumptions are useful at the...

9 min read

tap, rescue, optional, fake — 4 Laravel helpers in practice

Laravel ships with a handful of global helpers that senior developers reach for constantly, yet rarely see documented beyond a one-liner in the official do...

10 min read

Laravel 12 Macros: A Complete Guide

Macros let you add your own methods to Laravel’s core classes without touching the framework’s source code. Below: how to register them in Laravel 12 and t...

5 min read

Laravel Testing with Pest, Part 1: Setup, Configuration and Factories

Laravel Testing with Pest — Part 1 · Part 2 · Part 3 · Part 4 · Part 5 Tests are a second application. They need a database, cache, mailer, queue and files...

6 min read

Laravel Testing with Pest, Part 5: Architecture Tests, CI and Coverage

Laravel Testing with Pest — Part 1 · Part 2 · Part 3 · Part 4 · Part 5 Architecture tests can keep controllers from depending on infrastructure or enforce...

7 min read

Laravel Testing with Pest, Part 4: Fakes, Time and External Boundaries

Laravel Testing with Pest — Part 1 · Part 2 · Part 3 · Part 4 · Part 5 An order confirmation can send an email, dispatch a PDF job, publish an event, call...

8 min read

Need someone to take responsibility for the next step?

Let’s talk about your project and define a scope that actually makes sense for your goals.