Install version 1 of this perhaps? https://github.com/renoki-co/laravel-eloquent-query-cache/tree/1.0
Be aware that its for eloquent, not the query builder
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi Great people,
I have a serious problem which cannot find a solution for. Is there any way (package) for Laravel 6.x that allows caching queries from the query builder like DB::table('users')->cache(time, 'id_xxx')->get()
Please or to participate in this conversation.