php-vcr/php-vcr-examples
Composer 安装命令:
composer require php-vcr/php-vcr-examples
包简介
README 文档
README
You can now see usage examples in the integration tests.
Installation
Assuming you have got composer installed:
git clone git@github.com:php-vcr/php-vcr-examples.git
cd php-vcr-examples/
composer install
Guzzle (using curl_rewrite library hook)
To run the guzzle example, do this:
cd guzzle
phpunit
If you like to record all http requests again, delete the fixture file.
rm test/fixtures/github_adri_php-vcr.yml
phpunit
Soap
Soap examples can be run by:
cd soap
phpunit
To record all http requests agian, delete the fixtures:
cd soap
rm test/fixtures/soap_weather_api_temperature
phpunit
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-10-13