Using Redis with Lumen
This blog post was originally published a little while ago. Please consider that it may no longer be relevant or even accurate.
It turns out that Redis isn't exactly supported out of the box when you're using Lumen, and the docs don't reflect that. Without the additional dependencies installed, you're going to see this error when you try and use the cache.
There are in fact an additional dependency in order to get Redis up and running.
You need to include illuminate/redis
(~5.0) which includes Laravel's Redis drivers.
Once you've installed this dependency you're good to use Redis on Lumen.
I've made a PR for the Lumen docs to illuminate this dependency.