PHPackages                             rexsee/mongodb-session - 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. [Database &amp; ORM](/categories/database)
4. /
5. rexsee/mongodb-session

ActiveLibrary[Database &amp; ORM](/categories/database)

rexsee/mongodb-session
======================

A MongoDB session driver for Laravel 4, 5, 6, 7, 8 and 9

v1.4.0(5y ago)045MITPHPPHP &gt;=7.2

Since Dec 13Pushed 3y agoCompare

[ Source](https://github.com/rexsee/laravel-mongodb-session)[ Packagist](https://packagist.org/packages/rexsee/mongodb-session)[ RSS](/packages/rexsee-mongodb-session/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Laravel MongoDB Session
=======================

[](#laravel-mongodb-session)

A MongoDB session driver for Laravel 4, 5, 6, 7 or 8 which is inspired by LMongo. For more information about Sessions, check .

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

[](#installation)

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

### Laravel Version Compatibility

[](#laravel-version-compatibility)

LaravelPackage4.x.x1.0.x5.x.x1.2.x6.x.x1.3.x7.x.x1.4.x8.x.x1.4.xInstall using composer:

```
composer require jenssegers/mongodb-session

```

Add the session service provider in `app/config/app.php`: (Below Laravel 7 Version)

```
'Jenssegers\Mongodb\Session\SessionServiceProvider',

```

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

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

```

*Optional*: change the connection to a connection using the mongodb driver from `app/config/database.php`:

```
'connection' => 'mongodb',

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% 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 ~415 days

Recently: every ~562 days

Total

7

Last Release

2046d ago

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

v1.3.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/89ff7a6860c236fc1b3cda25fa97690b752efb3013dbc404d47c474f3a7cf715?d=identicon)[rexsee](/maintainers/rexsee)

---

Top Contributors

[![jenssegers](https://avatars.githubusercontent.com/u/194377?v=4)](https://github.com/jenssegers "jenssegers (20 commits)")[![Mello21century](https://avatars.githubusercontent.com/u/4740180?v=4)](https://github.com/Mello21century "Mello21century (8 commits)")[![CammoKing](https://avatars.githubusercontent.com/u/1039106?v=4)](https://github.com/CammoKing "CammoKing (2 commits)")[![rexsee](https://avatars.githubusercontent.com/u/48525156?v=4)](https://github.com/rexsee "rexsee (2 commits)")[![arthurkirkosa](https://avatars.githubusercontent.com/u/1099791?v=4)](https://github.com/arthurkirkosa "arthurkirkosa (1 commits)")[![duxet](https://avatars.githubusercontent.com/u/821707?v=4)](https://github.com/duxet "duxet (1 commits)")

---

Tags

laravelmongodbdriversessionmongo

### Embed Badge

![Health badge](/badges/rexsee-mongodb-session/health.svg)

```
[![Health](https://phpackages.com/badges/rexsee-mongodb-session/health.svg)](https://phpackages.com/packages/rexsee-mongodb-session)
```

###  Alternatives

[jenssegers/mongodb-session

A MongoDB session driver for Laravel 4, 5, 6, 7 and 8

76308.1k3](/packages/jenssegers-mongodb-session)[jenssegers/mongodb-sentry

An extension for Laravel-MongoDB that lets you work with Sentry

5445.0k1](/packages/jenssegers-mongodb-sentry)[leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB.

11234.3k4](/packages/leroy-merlin-br-mongolid)[julien-c/mongovel

A Laravel-ish wrapper to the PHP Mongo driver

357.7k](/packages/julien-c-mongovel)[jenssegers/mongodb-lite

A lightweight MongoDB database library and model for Laravel 4

121.0k](/packages/jenssegers-mongodb-lite)

PHPackages © 2026

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