cache/session-handler
最新稳定版本:1.2.0
Composer 安装命令:
composer require cache/session-handler
包简介
An implementation of PHP's SessionHandlerInterface that allows PSR-6
README 文档
README
This is a PHP session handler that supports PSR-6 cache. It is a part of the PHP Cache organisation. Find more documentation at www.php-cache.com.
Install
composer require cache/session-handler
Use
$pool = new ArrayCachePool(); $config = ['ttl'=>3600, 'prefix'=>'foobar']; $sessionHandler = new Psr6SessionHandler($pool, $config);
Note that this session handler does no kind of locking, so it will lose or overwrite your session data if you run scripts concurrently. You have been warned.
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.
统计信息
- 总下载量: 553.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 1
- 依赖项目数: 7
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-23