qlimix / http-router-middleware
1.0.0
2020-02-08 15:56 UTC
Requires
- php: ^7.4
- psr/http-server-middleware: ^1.0
- qlimix/http: 1.0.0
- qlimix/http-router: 2.0.0
Requires (Dev)
- qlimix/code-standard: ^2.0
This package is auto-updated.
Last update: 2024-11-09 02:56:34 UTC
README
Install
Using Composer:
$ composer require qlimix/http-router-middleware
usage
<?php use Qlimix\Http\Middleware\RouterMiddleware; $router = new Router(); $locator = new Locator(); $middleware = new RouterMiddleware($router, $locator);
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.