Blog

Laravel, PHP and DevOps, from practice

Practical knowledge about Laravel, PHP, testing, Docker, CI/CD, and modern developer workflow.

Turning a Composer Library into a Laravel Package

A framework-agnostic Composer library should not know that Laravel exists. Its classes should be usable in a CLI script, a Symfony application, or another...

11 min read

Testing and CI for Laravel Packages

A package test suite must prove integration, not just unit methods. Orchestra Testbench boots a small Laravel application without requiring a consumer repo...

9 min read

Distribution Polish for Laravel Packages

The first minute after composer require decides whether a package feels trustworthy. A README is not a sales page and it is not a dump of every class in sr...

9 min read

Anatomy of a Composer Package: A Maintainer's Practical Guide

A Composer package starts as a promise. Someone installs a name they have never seen before and gives its code a place in production. They need to know whi...

8 min read

Strategy Pattern in Laravel: Flexible B2B Pricing

A match statement is often the right way to start. One customer type, two discounts, a rule that fits on a screen: there is no prize for introducing five c...

9 min read

State Pattern in Laravel: A Subscription Lifecycle Without a Package

$subscription->status === 'active' is harmless once. It becomes expensive when a cancellation endpoint, renewal job, payment webhook and support tool al...

9 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.