| Package Data | |
|---|---|
| Maintainer Username: | jenssegers |
| Package Create Date: | 2013-08-07 |
| Package Last Update: | 2022-10-21 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-02 03:00:09 |
| Package Statistics | |
|---|---|
| Total Downloads: | 300,128 |
| Monthly Downloads: | 1,412 |
| Daily Downloads: | 3 |
| Total Stars: | 77 |
| Total Watchers: | 6 |
| Total Forks: | 27 |
| Total Open Issues: | 11 |
A MongoDB session driver for Laravel 4, inspired by LMongo. For more information about Sessions, check http://laravel.com/docs/eloquent.
Make sure you have jenssegers\mongodb installed before you continue.
Install using composer:
composer require jenssegers/mongodb-session
Add the session service provider in app/config/app.php:
'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',