Download the PHP package php-http/psr7-integration-tests without Composer
On this page you can find all versions of the php package php-http/psr7-integration-tests. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-http/psr7-integration-tests
More information about php-http/psr7-integration-tests
Files in php-http/psr7-integration-tests
Package psr7-integration-tests
Short Description Test suite for PSR7
License MIT
Homepage http://php-http.org
Informations about the package psr7-integration-tests
HTTP Message
Test PSR7 implementations against the specification.
Status
| PSR7 Implementation | Status | Legacy |
|---|---|---|
| Guzzle | ||
| Laminas | Legacy (failures expected) | |
| Slim | ||
| Nyholm | ||
| RingCentral | ||
| HttpSoft | ||
| Fatfree |
Install
To use the integration tests with a PSR-7 implementation, add this package to the dev dependencies:
Then set up phpunit to run the tests for your implementation.
Documentation
Please see the official documentation.
Testing
This repository also is set up to test a couple of implementations directly. You need to install dependencies from source for the tests to work:
Note: If you already have the sources installed, you need to delete the vendor folder before running the above command.
Run the test suite for one implementation with:
The names are Guzzle, Laminas, Slim, Nyholm, RingCentral, HttpSoft, Fatfree.
It is also possible to exclude tests that require a live internet connection:
Contributing
Please see our contributing guide.
Security
If you discover any security related issues, please contact us at [email protected].
License
The MIT License (MIT). Please see License File for more information.
All versions of psr7-integration-tests with dependencies
phpunit/phpunit Version ^9.3 || ^10.0 || ^11.5 || ^12.4
psr/http-message Version ^1.0 || ^2.0