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

ActiveProject[Caching](/categories/caching)

alfa6661/laravel-mongodb-cache
==============================

A MongoDB cache driver for Laravel

v2.0.2(6y ago)23.7k2MITPHPPHP &gt;=7.0.0

Since Sep 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/alfa6661/laravel-mongodb-cache)[ Packagist](https://packagist.org/packages/alfa6661/laravel-mongodb-cache)[ RSS](/packages/alfa6661-laravel-mongodb-cache/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)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 alfa6661/laravel-mongodb-cache

```

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

```
'Alfa6661\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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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 ~282 days

Total

4

Last Release

2323d ago

Major Versions

v1.0.0 → v2.0.02017-10-04

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.4

v2.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef0480adb6c2494f21910eb4e69ab92b02e075bfdad37c242fed4f20d0e5412c?d=identicon)[alfa6661](/maintainers/alfa6661)

---

Top Contributors

[![alfa6661](https://avatars.githubusercontent.com/u/3650559?v=4)](https://github.com/alfa6661 "alfa6661 (7 commits)")[![satoryu](https://avatars.githubusercontent.com/u/124871?v=4)](https://github.com/satoryu "satoryu (4 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[genealabs/laravel-model-caching

Automatic caching for Eloquent models.

2.4k4.8M26](/packages/genealabs-laravel-model-caching)[mikebronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k127.1k1](/packages/mikebronner-laravel-model-caching)[laragear/cache-query

Remember your query results using only one method. Yes, only one.

272122.8k](/packages/laragear-cache-query)[monospice/laravel-redis-sentinel-drivers

Redis Sentinel integration for Laravel and Lumen.

103830.5k](/packages/monospice-laravel-redis-sentinel-drivers)[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.

2057.2k](/packages/iazaran-smart-cache)

PHPackages © 2026

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