New Try managed PHP hosting on Amezmo for FREE with a $50 account credit. Create account →

circuit-board

PHP

Tips, best practices, and all things PHP from the Amezmo team.

Writing a Laravel Facade With a Service Provider

Prior to me discovering how the Laravel internals work, I would define static methods for most of my services. It quickly gets difficult to manage, once you need to keep non static state for a service, or you want dynamic behavior that is determined at runtime. In this post I’ll share how I defined my […]