easy-http / contracts
HTTP client adapter contracts for PHP applications
v2.0.0
2025-06-15 04:36 UTC
Requires
- php: ^7.4|^8.0
- ext-json: *
Requires (Dev)
- fakerphp/faker: ^1.19
- phpunit/phpunit: ^9.4
- squizlabs/php_codesniffer: ^3.5
README
π Consistent interface for HTTP clients
π Seamlessly switch between different HTTP clients using standardized adapter contracts
HTTP Client Adapter Contracts
HTTP client adapter contracts for PHP applications. These contracts provide a standardized interface for working with different HTTP clients like Guzzle, Symfony, and others. By implementing these contracts, you can easily switch between different HTTP client implementations while maintaining a consistent API in your application.
π Check out the Documentation to learn how to use any adapter that implements these contracts.