janharsa/mysql-session-handler
最新稳定版本:2.0.2
Composer 安装命令:
composer require janharsa/mysql-session-handler
包简介
MySQL session handler for Nette Framework with Nextras Dbal
README 文档
README
Custom MySQL session handler uses Nextras/DBAL and Nette DI
Requirements
- nextras/dbal 3.0+
- nette/di 2.2+
- PHP 8.2+
Installation
Use Composer to install package janharsa/mysql-session-handler:
$ composer require janharsa/mysql-session-handler:~1.0
Setup
Register an extension in config.neon:
extensions: sessionHandler: JanHarsa\Session\DI\MysqlSessionHandlerExtension
Default table name is 'sessions'. Can be changeg with adding this on the config.local.neon
sessionHandler: tableName: session_in_database
统计信息
- 总下载量: 5.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-01