PHPackages                             tool4/laravel-eloquent-query-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. tool4/laravel-eloquent-query-cache

ActiveLibrary[Caching](/categories/caching)

tool4/laravel-eloquent-query-cache
==================================

Adding cache on your Laravel Eloquent queries' results is now a breeze.

01.3k↓95.2%[5 PRs](https://github.com/dungphanxuan84/laravel-eloquent-query-cache/pulls)PHP

Since May 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/dungphanxuan84/laravel-eloquent-query-cache)[ Packagist](https://packagist.org/packages/tool4/laravel-eloquent-query-cache)[ RSS](/packages/tool4-laravel-eloquent-query-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (6)Used By (0)

Laravel Eloquent Query Cache
============================

[](#laravel-eloquent-query-cache)

[![CI](https://github.com/renoki-co/laravel-eloquent-query-cache/workflows/CI/badge.svg?branch=master)](https://github.com/renoki-co/laravel-eloquent-query-cache/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/505015f6f44c92c40ca15d6b4e9212b5c990c1170ddde5d602fdca61817eea5f/68747470733a2f2f636f6465636f762e696f2f67682f72656e6f6b692d636f2f6c61726176656c2d656c6f7175656e742d71756572792d63616368652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/renoki-co/laravel-eloquent-query-cache/branch/master)[![StyleCI](https://camo.githubusercontent.com/b071c5c4b2a3e294317822791310e51b92f74092615d1a0a453ed3d162572cbd/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3232333233363738352f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/223236785)[![Latest Stable Version](https://camo.githubusercontent.com/5ce71f8a886c362ac4054395e2e843c24125dc0fcbda408aeae543f98fbcf621/68747470733a2f2f706f7365722e707567782e6f72672f72656e6e6f6b6b692f6c61726176656c2d656c6f7175656e742d71756572792d63616368652f762f737461626c65)](https://packagist.org/packages/rennokki/laravel-eloquent-query-cache)[![Total Downloads](https://camo.githubusercontent.com/3cab12e0126eb8086d041d127f720eb2adb968af06d384af83b909ca0494ab2a/68747470733a2f2f706f7365722e707567782e6f72672f72656e6e6f6b6b692f6c61726176656c2d656c6f7175656e742d71756572792d63616368652f646f776e6c6f616473)](https://packagist.org/packages/rennokki/laravel-eloquent-query-cache)[![Monthly Downloads](https://camo.githubusercontent.com/934bef0553e8a978b5bbb73427f36bfa329dcb4bcb9e81cfd90ec34b74a8df6e/68747470733a2f2f706f7365722e707567782e6f72672f72656e6e6f6b6b692f6c61726176656c2d656c6f7175656e742d71756572792d63616368652f642f6d6f6e74686c79)](https://packagist.org/packages/rennokki/laravel-eloquent-query-cache)[![License](https://camo.githubusercontent.com/e0ea2c4270347b555f60b5c8044aa8e5a11a470681ea74ed5b0f11a7ac1b95fd/68747470733a2f2f706f7365722e707567782e6f72672f72656e6e6f6b6b692f6c61726176656c2d656c6f7175656e742d71756572792d63616368652f6c6963656e7365)](https://packagist.org/packages/rennokki/laravel-eloquent-query-cache)

Laravel Eloquent Query Cache brings back the `remember()` functionality that has been removed from Laravel a long time ago. It adds caching functionalities directly on the Eloquent level, making use of cache within your database queries.

🤝 Supporting
------------

[](#-supporting)

**If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦**

[![](https://camo.githubusercontent.com/6b36c0d80ae5a97ff2d6378a494365f799f8daa2b0233bd70cad0fb9d0b4219a/68747470733a2f2f6769746875622d636f6e74656e742e73332e66722d7061722e7363772e636c6f75642f7374617469632f33372e6a7067)](https://github-content.renoki.org/github-repo/37)

📃 Documentation
---------------

[](#-documentation)

[The entire documentation is available on Gitbook 🌍](https://rennokki.gitbook.io/laravel-eloquent-query-cache/)

🐛 Testing
---------

[](#-testing)

```
vendor/bin/phpunit
```

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

🔒 Security
----------

[](#--security)

If you discover any security related issues, please email  instead of using the issue tracker.

🎉 Credits
---------

[](#-credits)

- [Alex Renoki](https://github.com/rennokki)
- [All Contributors](../../contributors)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance55

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/43c64b60292d800ffac39451e9afc7200eea521096abbd3a56439ba51aebedd1?d=identicon)[dungphanxuan84](/maintainers/dungphanxuan84)

---

Top Contributors

[![vaix-dungpx](https://avatars.githubusercontent.com/u/114124789?v=4)](https://github.com/vaix-dungpx "vaix-dungpx (2 commits)")[![dungphanxuan](https://avatars.githubusercontent.com/u/10725732?v=4)](https://github.com/dungphanxuan "dungphanxuan (1 commits)")

### Embed Badge

![Health badge](/badges/tool4-laravel-eloquent-query-cache/health.svg)

```
[![Health](https://phpackages.com/badges/tool4-laravel-eloquent-query-cache/health.svg)](https://phpackages.com/packages/tool4-laravel-eloquent-query-cache)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
