Skip to content

Commit 1056fcf

Browse files
committed
Adds readme.
1 parent ed5b0c8 commit 1056fcf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Readme.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
PHP-VCR Examples
2+
================
3+
4+
## Installation
5+
6+
Assuming you have got [composer](http://getcomposer.org) installed:
7+
8+
```
9+
git clone git@github.com:adri/php-vcr-examples.git
10+
cd php-vcr-examples/
11+
composer install
12+
```
13+
14+
## Guzzle
15+
16+
To run the guzzle example, do this:
17+
18+
```
19+
cd guzzle
20+
../vendor/bin/phpunit .
21+
```
22+
23+
If you like to record all http requests again, delete the fixture file.
24+
25+
```
26+
rm test/fixtures/github_adri_php-vcr.yml
27+
../vendor/bin/phpunit .
28+
```

0 commit comments

Comments
 (0)