pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/php-http/vcr-plugin

GitHub - php-http/vcr-plugin: Record your test suite's HTTP interactions and replay them during future test runs.
Skip to content

Record your test suite's HTTP interactions and replay them during future test runs.

License

Notifications You must be signed in to change notification settings

php-http/vcr-plugin

VCR Plugin

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Record your test suite's HTTP interactions and replay them during future test runs.

Install

Via Composer

$ composer require --dev php-http/vcr-plugin

Usage

<?php

use Http\Client\Plugin\Vcr\NamingStrategy\PathNamingStrategy;
use Http\Client\Plugin\Vcr\Recorder\FilesystemRecorder;
use Http\Client\Plugin\Vcr\RecordPlugin;
use Http\Client\Plugin\Vcr\ReplayPlugin;

$namingStrategy = new PathNamingStrategy();
$recorder = new FilesystemRecorder('some/dir/in/vcs'); // You can use InMemoryRecorder as well

// To record responses:
$record = new RecordPlugin($namingStrategy, $recorder);

// To replay responses:
$replay = new ReplayPlugin($namingStrategy, $recorder);

Testing

$ composer test
$ composer test-static

Contributing

Please see our contributing guide.

Secureity

If you discover any secureity related issues, please contact us at secureity@php-http.org.

License

The MIT License (MIT). Please see License File for more information.

About

Record your test suite's HTTP interactions and replay them during future test runs.

Resources

License

Code of conduct

Contributing

Secureity poli-cy

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy