PHPackages                             snowsoft/laravelmongodbcache - 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. snowsoft/laravelmongodbcache

ActiveLibrary[Caching](/categories/caching)

snowsoft/laravelmongodbcache
============================

A MongoDB cache driver for Laravel

03PHP

Since Dec 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/snowsoft/laravelmongodbcache)[ Packagist](https://packagist.org/packages/snowsoft/laravelmongodbcache)[ RSS](/packages/snowsoft-laravelmongodbcache/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)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 snowsoft/laravel-mongodb-cache

```

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

```
'Nlk\Mongodb\Cache\MongoCacheServiceProvider::class',

```

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

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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/4568234?v=4)[snowsoft](/maintainers/snowsoft)[@snowsoft](https://github.com/snowsoft)

### Embed Badge

![Health badge](/badges/snowsoft-laravelmongodbcache/health.svg)

```
[![Health](https://phpackages.com/badges/snowsoft-laravelmongodbcache/health.svg)](https://phpackages.com/packages/snowsoft-laravelmongodbcache)
```

PHPackages © 2026

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