psr-mock/http
Lightweight mock implementations of PSR-18, PSR-17 and PSR-7 tailored to simplify unit testing.
Maintainers
Requires
- php: ^8.1
- psr-mock/http-client-implementation: ^1.0
- psr-mock/http-factory-implementation: ^1.0
- psr-mock/http-message-implementation: ^1.0
Requires (Dev)
None
Suggests
None
Provides
Conflicts
None
Replaces
None
MIT 67e281b6f5ec17d282c1cdd37bb79493bf8adde4
- Evan Sims <hello.woop@evansims.com>
psrdiscoverypsr-7psr-17psr-18http-client-implementationhttp-factory-implementationhttp-message-implementation
README
Lightweight mock implementations of a PSR-18 HTTP Client, PSR-17 HTTP Factories and PSR-7 Messages tailored to simplify unit testing.
This is a meta-package that includes all of the PSR Mock utility suite's HTTP packages.
This suite is largely intended for inclusion in libraries like SDKs that consume PSRs without requiring hard dependencies on specific libraries.
Requirements
- PHP 8.1+
- Composer 2.0+
Installation
composer require psr-mock/http
Usage
Usage instructions for each discovery library can be found at the links below:
Contributing
Contributions are welcome! Please create issues and pull requests on the repository for the specific discovery library you're interested in.
As a meta-package, this repository is not intended to accept contributions.
This library is not produced or endorsed by, or otherwise affiliated with, the PHP-FIG.
