Laravel 4 Cache as a Service
Published on by Eric L. Barnes
Philip Brown writes about using Cache as a Service in Laravel 4.
Dealing with Cache in your Controller would be a terrible idea, but dealing with it as a service as part of your application specific code means that we can reuse this service for our application, API or even a command line client.
A lot of the ideas around this was inspired by the Implementing Laravel book by Chris Fidao.
Eric is the creator of Laravel News and has been covering Laravel since 2012.