承接 aidynmakhataev/laravel-tarantool-session 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aidynmakhataev/laravel-tarantool-session

最新稳定版本:0.4.2

Composer 安装命令:

composer require aidynmakhataev/laravel-tarantool-session

包简介

A Tarantool session driver for Laravel

README 文档

README

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.

统计信息

  • 总下载量: 4.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-30