This repository has been archived and is no longer maintained. Please use the new repository:
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
⚠️ 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.