PHPackages                             emresari89/laravel-mongodb-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. emresari89/laravel-mongodb-cache

ActiveProject[Caching](/categories/caching)

emresari89/laravel-mongodb-cache
================================

A MongoDB cache driver for Laravel

v1.0.0(4y ago)09MITPHPPHP &gt;=7.0.0

Since Oct 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/emresari89/laravel-mongo-cache)[ Packagist](https://packagist.org/packages/emresari89/laravel-mongodb-cache)[ RSS](/packages/emresari89-laravel-mongodb-cache/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Mongodb Cache
=====================

[](#laravel-mongodb-cache)

A MongoDB cache driver for Laravel

Installation
------------

[](#installation)

Make sure you have [jenssegers\\mongodb](https://github.com/jenssegers/Laravel-MongoDB) installed before you continue.

Install using composer:

```
composer require emresari89/laravel-mongo-cache

```

Add the session service provider in `app/config/app.php`:

```
'Emresar\Mongodb\Cache\MongoCacheServiceProvider',

```

Add mongodb cache store in `app/config/cache.php`

```
'stores' => [
    /...

    'mongodb' => [
        'driver' => 'mongodb',
        'table' => 'cache',
        'connection' => null,
    ],
],

```

Update your .env file and change the `CACHE_DRIVER` to mongodb

```
CACHE_DRIVER=mongodb

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1720d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29493496?v=4)[Emre Sarıoğlu](/maintainers/emresari89)[@emresari89](https://github.com/emresari89)

---

Top Contributors

[![emresari89](https://avatars.githubusercontent.com/u/29493496?v=4)](https://github.com/emresari89 "emresari89 (2 commits)")

### Embed Badge

![Health badge](/badges/emresari89-laravel-mongodb-cache/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.0M69](/packages/spatie-laravel-responsecache)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[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.

21111.6k](/packages/iazaran-smart-cache)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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