icewind/replay
Composer 安装命令:
composer require icewind/replay
包简介
Record and replay php requests
README 文档
README
Record and replay php requests
composer require icewind/replay
Records input from builtin php functions to allow replaying the request from the exact same state.
Note, only code using namespaces can be replayed
Usage
Record
php rec.php script.php new_recording.json
Or
require 'vendor/autoload.php'; $replay = new \Icewind\Replay\Replay(); $record = $replay->record('script.php'); $record->save('new_recording.json');
Playback
php play.php script.php existing_recording.json
Or
require 'vendor/autoload.php'; $replay = new \Icewind\Replay\Replay(); $record = new \Icewind\Replay\Record\JsonRecord('existing_recording.json'); $record = $replay->play('script.php', $record);
TODO
- Support recording/replaying input from builtin classes (PDO)
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-24