Building and Publishing a Laravel Package: Service Providers, Testbench, Pest and Semantic Versioning
October 12, 2026 · Polish & Pixel Team
Extract shared code into a real Laravel package: auto-discovery, a service provider that registers correctly, publishable config and migrations, a Testbench + Pest suite, a CI matrix across PHP and Laravel versions, and a release process that does not break your users.
Read more