Skip to content

php-http/client-integration-tests

Repository files navigation

HTTP Client integration tests

Latest Version Software License Total Downloads

HTTP Client integration tests.

Install

Via Composer

composer require php-http/client-integration-tests

Usage

This package should not be used on its own. It provides integration tests for HTTP Clients.

Running tests for HTTP Adapters

Start the HTTP Test server:

vendor/bin/http_test_server

Install an adapter.

composer require php-http/curl-client laminas/laminas-diactoros

Run the tests.

./vendor/bin/phpunit --testsuite curl --printer "Http\Client\Tests\ResultPrinter"

Contributing

Please see our contributing guide.

Security

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

License

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