Download the PHP package cornfield-io/middlewares without Composer
On this page you can find all versions of the php package cornfield-io/middlewares. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cornfield-io/middlewares
More information about cornfield-io/middlewares
Files in cornfield-io/middlewares
Package middlewares
Short Description PSR-15: HTTP Server Request Handlers implementation.
License MIT
Informations about the package middlewares
cornfield-io/middlewares
PSR-15: HTTP Server Request Handlers implementation.
Install
Via Composer
Requirements
-
You need
PHP >= 7.2.0
to useCornfield\Middlewares
but the latest stable version of PHP is recommended. -
An implementation of PSR-7 (we recommend the Zend Diactoros project).
- Optionally, you could also install a PSR-11 dependency injection container (we recommend the PHP-DI project).
Throughout this documentation, we will assume that you are using the packages above. If you want, you can still install other implementations of PSR-7 or PSR-11.
Usage
All middlewares added must implement Psr\Http\Server\MiddlewareInterface
.
ContainerInterface
Cornfield\Middlewares
supports Psr\Container\ContainerInterface
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Development
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email instead of using the issue tracker.
Credits
- cornfield-io
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of middlewares with dependencies
psr/container Version ^1.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0