PHP code example of accolon / route

1. Go to this page and download the library: Download accolon/route 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/ */

    

accolon / route example snippets




use Accolon\Route\App;
use Accolon\Route\Controller as RouteController;
use Accolon\Route\Middlewares\Cors;
use Accolon\Route\Request;
use Accolon\Route\Response;