Download the PHP
package easy-http/layer-contracts without Composer
On this page you can find all versions of the php package
easy-http/layer-contracts. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor easy-http Package layer-contracts Short Description Http layer contracts for PHP clients License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package layer-contracts
⚠️ ARCHIVED REPOSITORY ⚠️
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:
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
:bookmark: Consistent interface for http clients
:rocket: 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!!.
:books: Check out the Documentation to learn how to use any layer that implements these contracts.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package easy-http/layer-contracts contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.