Mocking with Anonymous Classes

How to use anonymous classes to modify the response of methods in a class without redefining all methods/logic in that class. Read more

Decoupling your code in Laravel using Repositiories and Services

Using Repositories and Services in Laravel to separate your code and improve its maintainability and re-usability. Read more