PHP code example of qlimix / http-router-middleware

1. Go to this page and download the library: Download qlimix/http-router-middleware library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

qlimix / http-router-middleware example snippets




use Qlimix\Http\Middleware\RouterMiddleware;

$router = new Router();
$locator = new Locator();

$middleware = new RouterMiddleware($router, $locator);