New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

aidynmakhataev/laravel-tarantool-session

A Tarantool session driver for Laravel
4,803 1
Install
composer require aidynmakhataev/laravel-tarantool-session
Latest Version:0.4.2
PHP:^7.2
Laravel:5 · 6 · 7
License:MIT
Last Updated:Aug 6, 2020
Links: GitHub  ·  Packagist
Maintainer: AidynMakhataev

Laravel Tarantool Session Driver

A Tarantool session driver for Laravel. For more information about sessions, check http://laravel.com/docs/session.

Requirements

  • PHP ^7.2
  • Laravel ^5.5

Installation

Via Composer

composer require aidynmakhataev/laravel-tarantool-session

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Laravel without auto-discovery:

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

\AidynMakhataev\Tarantool\Session\SessionServiceProvider::class

Change session driver

Change the session driver in config/session.php to tarantool:

'driver' => 'tarantool',

Configuration

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

Transfer session from another storage

You can easily transfer your sessions with following artisan commands

File Driver

php artisan tarantool-session:transfer-file

Redis Driver

Currently not supported

Database Driver

Currently not supported

Memcached Driver

Currently not supported

License

MIT. Please see the license file for more information.

Related Packages

jenssegers/mongodb-session

A MongoDB session driver for Laravel 4, 5, 6, 7 and 8

321,217 75
ailidong/laravel-mongodb-session

A MongoDB session driver for Laravel 5.3

20 0
rairlie/laravel-locking-session

Provide session locking in Laravel

528,322 91
cedricve/lockfile

A session driver which properly locks the file session driver for Laravel

13,119 2
codezero/session

Manage session data.

2,821 0

Version History

Version Released PHP Laravel License
0.4.2 ^7.2 ^5.5 || ^6 || ^7 MIT
0.4.1 ^7.2 ^5.5 || ^6 || ^7 MIT
0.4.0 ^7.2 ^5.5 || ^6 || ^7 MIT
0.3.0 ^7.2 ^5.5 || ^6 || ^7 MIT
0.2.1 ^7.2 ~5.0|~6.0|~7.0 MIT