nicktacular/php-session-tester
Composer 安装命令:
composer require --dev nicktacular/php-session-tester
包简介
A little testing tool for PHP session handlers
README 文档
README
This is a little tool that you can use to emulate how PHP uses a session handler. If, for example, you write your own session handler and wish to test it, this tool will help by emulating how PHP's session_*() functions work in a way that you can unit test your session handler.
Requirements
If you're on PHP ≥ 5.3, then just Composer. If you're running PHP < 5.3, there are no other requirements.
Installing
If you're using PHP ≥ 5.3, you can install using composer, you can install quite simply like so:
composer require nicktacular/php-session-emulator --dev
If you're using PHP < 5.3, you can simple clone this repo and include these in your test bootstrap:
include '/path/to/src/n1/Session/Emulator.php'; include '/path/to/src/n1/Session/HttpCookie.php';
How to use
Docs will be done soon.
统计信息
- 总下载量: 94
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-30