Decorator Design Pattern in PHP and Laravel with Examples
The Decorator pattern is one I reach for whenever I need to add behaviour to a class without touching its code. In this article I explain what it is, why…
Software Developer
I'm Omid Rafati, a PHP and Laravel developer based in Augsburg with 7+ years of professional experience building web applications, from self-hosted CRM software to real estate platforms with online payments.
The Decorator pattern is one I reach for whenever I need to add behaviour to a class without touching its code. In this article I explain what it is, why…
What is the Strategy pattern? The Strategy pattern is a behavioral design pattern. You define a family of algorithms, put each one in its own class behind…
Sooner or later most PHP projects need to produce a PDF: an invoice, a report, a ticket or a contract. There are several mature open-source libraries for…