Design Patterns

  • 07 June 2026

Bridge pattern for notifications in PHP

We practice the Bridge pattern in PHP to separate notification types from delivery channels, avoiding class explosion when adding new features

Read more 
  • 13 May 2026

Decorator pattern with pizzas

We practice the Decorator pattern in a pizzeria to add ingredients dynamically, without creating a class for each possible combination

Read more 
  • 07 May 2026

PHP Adapter Design Pattern

A clear guide to the Adapter pattern in PHP, showing how to add new features by adapting external library code without modifying the library itself

Read more 
  • 25 April 2026

A PHP app to practice design patterns

I share how I built a PHP app to practice design patterns using AI

Read more