php-http/client-integration-tests

HTTP Client integration tests

3.1.1 2024-09-01 10:31 UTC

This package is auto-updated.

Last update: 2024-12-01 00:05:20 UTC


README

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.