承接 icewind/replay 相关项目开发

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

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

icewind/replay

Composer 安装命令:

composer require icewind/replay

包简介

Record and replay php requests

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-24