simexis/mongodb-session is a Laravel package for a mongodb session driver for laravel 5.
It currently has 1 GitHub stars and 3.707 downloads on Packagist (latest version 0.0.11).
Install it with composer require simexis/mongodb-session.
Discover more Laravel packages by simexis
or browse all Laravel packages to compare alternatives.
Last updated
A MongoDB session driver for Laravel 5, 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 simexis/mongodb-session
Add the session service provider in app/config/app.php:
'Simexis\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',