Does anybody have an example of how to implement a generic APCu (or other backend) cache for eloquent?
All the examples I’m finding are based upon Laravel which means that they rely on a bunch stuff which is not readily available when you’re just using Eloquent without Laravel.
Thanks for any ideas.