PHPackages                             henriquex25/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. [Database &amp; ORM](/categories/database)
4. /
5. henriquex25/laravel-eloquent-query-cache

ActiveLibrary[Database &amp; ORM](/categories/database)

henriquex25/laravel-eloquent-query-cache
========================================

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

v1.1.7(2y ago)022Apache-2.0PHP

Since Apr 18Pushed 2y agoCompare

[ Source](https://github.com/Henriquex25/laravel-eloquent-query-cache)[ Packagist](https://packagist.org/packages/henriquex25/laravel-eloquent-query-cache)[ Docs](https://github.com/renoki-co/laravel-eloquent-query-cache)[ RSS](/packages/henriquex25-laravel-eloquent-query-cache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (3)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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36f062d4bc6f2ae46ce175546728f192fb2fc5ca6dc848f5892e965638a425e6?d=identicon)[Henriquex25](/maintainers/Henriquex25)

---

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)")[![Henriquex25](https://avatars.githubusercontent.com/u/88984677?v=4)](https://github.com/Henriquex25 "Henriquex25 (11 commits)")[![advil0](https://avatars.githubusercontent.com/u/313308?v=4)](https://github.com/advil0 "advil0 (3 commits)")[![giannicic](https://avatars.githubusercontent.com/u/10560238?v=4)](https://github.com/giannicic "giannicic (3 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![Jampire](https://avatars.githubusercontent.com/u/686954?v=4)](https://github.com/Jampire "Jampire (1 commits)")[![DeepDiver1975](https://avatars.githubusercontent.com/u/1005065?v=4)](https://github.com/DeepDiver1975 "DeepDiver1975 (1 commits)")[![shinsenter](https://avatars.githubusercontent.com/u/2082119?v=4)](https://github.com/shinsenter "shinsenter (1 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)")[![devajmeireles](https://avatars.githubusercontent.com/u/60591772?v=4)](https://github.com/devajmeireles "devajmeireles (1 commits)")

---

Tags

laravelsqleloquentcachingqueryremember

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[rennokki/laravel-eloquent-query-cache

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

1.1k4.0M14](/packages/rennokki-laravel-eloquent-query-cache)[watson/rememberable

Query caching for Laravel

1.1k5.2M13](/packages/watson-rememberable)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)

PHPackages © 2026

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