Looking to hire Laravel developers? Try LaraJobs

laravel-mongodb-session maintained by ailidong

Description
A MongoDB session driver for Laravel 5.3
Last update
2017/01/19 03:26 (dev-master)
License
Links
Downloads
20

Comments
comments powered by Disqus

Laravel MongoDB Session

A MongoDB session driver for Laravel 5.

Installation

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',