easy-http/layer-contracts

This package is abandoned and no longer maintained. The author suggests using the easy-http/contracts package instead.

Http layer contracts for PHP clients

v1.2.0 2025-06-18 02:39 UTC

This package is auto-updated.

Last update: 2025-06-18 02:43:32 UTC


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

Archived Deprecated

PHP Versions Supported

🔖 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.