| Package Data | |
|---|---|
| Maintainer Username: | AiliDong |
| Maintainer Contact: | al.d.topman@gmail.com (Aili Dong) |
| Package Create Date: | 2017-01-19 |
| Package Last Update: | 2017-01-19 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-29 03:02:54 |
| Package Statistics | |
|---|---|
| Total Downloads: | 20 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A MongoDB session driver for Laravel 5.
Make sure you have jenssegers\mongodb installed before you continue.
Install using composer:
composer require ailidong/laravel-mongodb-session
Add the session service provider in app/config/app.php:
'Purpleobject\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',