easy-http / layer-contracts
Http layer contracts for PHP clients
Installs: 5 011
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ext-json: *
Requires (Dev)
- fakerphp/faker: ^1.19
- phpunit/phpunit: ^9.4
- squizlabs/php_codesniffer: ^3.5
README
This repository has been archived and is no longer maintained. Please use the new repository:
easy-http/contracts
The package has been renamed from layer-contracts
to contracts
for improved clarity. The new package is available at:
composer require easy-http/contracts
All functionality remains the same in v2.0.0 of the new package, only the package name and namespace have changed:
- Old namespace:
EasyHttp\LayerContracts
- New namespace:
EasyHttp\Contracts
🔖 Consistent interface for http clients
🚀 Change easily from one client to another using http layer contracts
Layer Contracts (Archived)
⚠️ DEPRECATED: This package has been renamed to easy-http/layer-contracts. Please use the new package instead.
HTTP layer contracts for PHP clients. 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.