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-01-27 15:02:45 |
Package Statistics | |
---|---|
Total Downloads: | 282,947 |
Monthly Downloads: | 1,657 |
Daily Downloads: | 19 |
Total Stars: | 77 |
Total Watchers: | 7 |
Total Forks: | 26 |
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',