Download the PHP package effectra/contracts without Composer
On this page you can find all versions of the php package effectra/contracts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download effectra/contracts
More information about effectra/contracts
Files in effectra/contracts
Package contracts
Short Description The Effectra Common Interfaces package.
License MIT
Informations about the package contracts
Effectra\Contracts Package
The Effectra\Contracts
package provides a set of contracts/interfaces that define the standardized behavior and contracts for various components used in the Effectra application.
Installation
You can install the package via Composer by running the following command:
Usage
The package includes the following contracts/interfaces:
Http\RequestFoundationInterface
: Defines the contract for creating aServerRequestInterface
instance from global variables.Http\ResponseFoundationInterface
: Defines the contract for sending aResponseInterface
instance.Http\RouterDispatcher
: ExtendsRouterInterface
and provides additional methods for adding requests and responses to the dispatcher.Http\RouterInterface
: Defines the contract for a router that dispatches server requests and returns responses.
To use any of these interfaces, simply implement them in your classes:
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository of this package.
License
This package is open-source and licensed under the MIT License.
About Effectra
Effectra is a leading technology company specializing in innovative solutions for [describe what Effectra does and its main areas of expertise].
For more information about Effectra, visit our website: https://www.effectra.com