AiliDong / laravel-mongodb-session by AiliDong

A MongoDB session driver for Laravel 5.3
17
0
2
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: 2024-04-22 03:03:00
Package Statistics
Total Downloads: 17
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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