OOP API Responders
Published on by Eric L. Barnes
Ryan Tablada has a new post on OOP API Responders:
The final nail in the coffin that allowed me to make responders that I loved, was Laravel 4.3’s controller action injection. This means that while my domain handlers can be injected at the controller class level, things like my request handlers and responders can be injected at a action level.
Eric is the creator of Laravel News and has been covering Laravel since 2012.