A Tarantool session driver for Laravel
aidynmakhataev/laravel-tarantool-session is a Laravel package for a tarantool session driver for laravel.
It currently has 1 GitHub stars and 4.670 downloads on Packagist (latest version 0.4.2).
Install it with composer require aidynmakhataev/laravel-tarantool-session.
Discover more Laravel packages by aidynmakhataev
or browse all Laravel packages to compare alternatives.
Last updated
A Tarantool session driver for Laravel. For more information about sessions, check http://laravel.com/docs/session.
Via Composer
composer require aidynmakhataev/laravel-tarantool-session
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
\AidynMakhataev\Tarantool\Session\SessionServiceProvider::class
Change the session driver in config/session.php to tarantool:
'driver' => 'tarantool',
You can publish the config file with the following command:
php artisan vendor:publish --tag="tarantool-session-config"
You need to provide following tarantool connection variables
TARANTOOL_SESSION_HOST=tcp://tarantool
TARANTOOL_SESSION_USER=user
TARANTOOL_SESSION_PASSWORD=password
TARANTOOL_SESSION_SPACE=sessions
You can easily transfer your sessions with following artisan commands
php artisan tarantool-session:transfer-file
Currently not supported
Currently not supported
Currently not supported
MIT. Please see the license file for more information.