PHPackages                             matthewjumpsoffbuildings/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. matthewjumpsoffbuildings/laravel-eloquent-query-cache

ActiveLibrary[Caching](/categories/caching)

matthewjumpsoffbuildings/laravel-eloquent-query-cache
=====================================================

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

074PHP

Since Mar 22Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (1)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

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 81.9% 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://avatars.githubusercontent.com/u/41524?v=4)[Matthew](/maintainers/matthewjumpsoffbuildings)[@matthewjumpsoffbuildings](https://github.com/matthewjumpsoffbuildings)

---

Top Contributors

[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (194 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![giannicic](https://avatars.githubusercontent.com/u/10560238?v=4)](https://github.com/giannicic "giannicic (3 commits)")[![advil0](https://avatars.githubusercontent.com/u/313308?v=4)](https://github.com/advil0 "advil0 (3 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![matthewjumpsoffbuildings](https://avatars.githubusercontent.com/u/41524?v=4)](https://github.com/matthewjumpsoffbuildings "matthewjumpsoffbuildings (2 commits)")[![squatto](https://avatars.githubusercontent.com/u/748444?v=4)](https://github.com/squatto "squatto (1 commits)")[![s-shiryaev](https://avatars.githubusercontent.com/u/33102548?v=4)](https://github.com/s-shiryaev "s-shiryaev (1 commits)")[![DeepDiver1975](https://avatars.githubusercontent.com/u/1005065?v=4)](https://github.com/DeepDiver1975 "DeepDiver1975 (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![devajmeireles](https://avatars.githubusercontent.com/u/60591772?v=4)](https://github.com/devajmeireles "devajmeireles (1 commits)")[![Jampire](https://avatars.githubusercontent.com/u/686954?v=4)](https://github.com/Jampire "Jampire (1 commits)")[![shinsenter](https://avatars.githubusercontent.com/u/2082119?v=4)](https://github.com/shinsenter "shinsenter (1 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/matthewjumpsoffbuildings-laravel-eloquent-query-cache/health.svg)](https://phpackages.com/packages/matthewjumpsoffbuildings-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)[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)
