subsession / http-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
A object oriented Http wrapper library
v0.7.4-alpha
2019-09-25 06:57 UTC
Requires
- php: >=7.0.0
- subsession/exceptions: *
Requires (Dev)
- phpunit/phpunit: ^7.0
Suggests
- ext-curl: *
- ext-json: *
- lib-curl: *
This package is auto-updated.
Last update: 2024-03-11 13:37:02 UTC
README
Latest stable version | Latest unstable version | Daily Downloads | Monthly downloads | Total downloads | Composer.lock available | License |
---|---|---|---|---|---|---|
An object-oriented Http wrapper library for PHP.
Requirements
PHP version 7+ is required in order to use this library.
It is also recommended (but not strictly required) to have the curl
extension enabled.
Installation
This library is available as a composer package:
> composer require subsession/http-client
Features
- Swappable implementations thanks to interfaces & builder patterns
- Dynamic request adapter based on available extensions
- Middleware pipeline for requests & responses
- Extensible HttpClient class using traits
Documentation
Documentation is available in the docs folder of this repository.
License
This library is distributed under the MIT license.
The complete license can be found in the LICENSE file in this repository.