Skip to content

Commit 0d0c591

Browse files
committed
Documented: Adds soap example calls.
1 parent 4a44e9e commit 0d0c591

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

Readme.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,35 @@ cd php-vcr-examples/
1111
composer install
1212
```
1313

14-
## Guzzle
14+
## Guzzle (using curl_runkit library hook)
1515

1616
To run the guzzle example, do this:
1717

1818
```
1919
cd guzzle
20-
../vendor/bin/phpunit .
20+
../vendor/bin/phpunit
2121
```
2222

2323
If you like to record all http requests again, delete the fixture file.
2424

2525
```
2626
rm test/fixtures/github_adri_php-vcr.yml
27-
../vendor/bin/phpunit .
27+
../vendor/bin/phpunit
28+
```
29+
30+
## Soap
31+
32+
Soap examples can be run by:
33+
34+
```
35+
cd soap
36+
../vendor/bin/phpunit
37+
```
38+
39+
To record all http requests agian, delete the fixtures:
40+
41+
```
42+
cd soap
43+
rm test/fixtures/soap_weather_api_temperature
44+
../vendor/bin/phpunit
2845
```

0 commit comments

Comments
 (0)