承接 cache/session-handler 相关项目开发

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

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

cache/session-handler

最新稳定版本:1.2.0

Composer 安装命令:

composer require cache/session-handler

包简介

An implementation of PHP's SessionHandlerInterface that allows PSR-6

README 文档

README

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License

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
  • 点击次数: 2
  • 依赖项目数: 7
  • 推荐数: 1

GitHub 信息

  • Stars: 18
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-23