qlimix/http-router-middleware

1.0.0 2020-02-08 15:56 UTC

This package is auto-updated.

Last update: 2024-11-09 02:56:34 UTC


README

Travis CI Coveralls Packagist MIT License

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.