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 1w ago

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

Maturity32

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)
```

###  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)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[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)
