easy-http / guzzle-layer
Http layer for Guzzle Client
Installs: 2 992
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ext-json: *
- easy-http/layer-contracts: ^1.0
- guzzlehttp/guzzle: ^6.0|^7.0
Requires (Dev)
- fakerphp/faker: ^1.19
- phpunit/phpunit: ^9.2
- squizlabs/php_codesniffer: ^3.5
README
π Consistent interface for http clients
π Change easily from one client to another using http layer contracts
Guzzle Layer
This is an HTTP layer for Guzzle Client based on HTTP layer contracts. These contracts standardize the way you consume HTTP clients like Guzzle, Symfony, and others with a consistent interface. No matter what client you are using, the methods you have to execute to do the job are the same for all!!.
π Check out the Documentation to learn how to use any layer that implements these contracts.
This library supports the following versions of Guzzle Http Client.
Installation
Use following command to install this library:
composer require easy-http/guzzle-layer
Usage
This layer as well as any other uses the HTTP Layer Contracts. You can check all behavior for the current version at Easy Http Documentation.