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

ActiveLibrary[Caching](/categories/caching)

vansteen/laravel-mongodb-cache
==============================

A MongoDB cache driver for Laravel 4 using the Laravel MongoDB package jenssegers/mongodb

52.8k3PHP

Since Aug 19Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel MongoDB Cache
=====================

[](#laravel-mongodb-cache)

*Currently in dev but this version seems fullly working. I need to do a last check and write few tests.*

A MongoDB cache driver for Laravel 4 and the package [jenssegers\\mongodb](https://github.com/jenssegers/Laravel-MongoDB).

For more information about Caches, check .

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

[](#installation)

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

Add the package to your `composer.json` and run `composer update`.

```
{
  "require": {
    "vansteen/laravel-mongodb-cache": "dev-master"
  }
}
```

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

```
    'Vansteen\Mongodb\Cache\MongodbCacheServiceProvider',
```

Change the cache driver in `app/config/cache.php` to mongodb:

```
  'driver' => 'mongodb',
```

Change the cache connection to a database connection using the mongodb driver from `app/config/database.php`:

```
  'connection' => 'my_mongodb_connection',
```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/71ae4f456404b023cf515b4bed5269af7ebaee61ab7a09c63170facfd9215493?d=identicon)[vansteen](/maintainers/vansteen)

---

Top Contributors

[![vansteen](https://avatars.githubusercontent.com/u/803464?v=4)](https://github.com/vansteen "vansteen (3 commits)")

---

Tags

laravelmongodb

### Embed Badge

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

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

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