PHP code example of blank-framework / file-path-router
1. Go to this page and download the library: Download blank-framework/file-path-router 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/ */
blank-framework / file-path-router example snippets
$router = new FilePathRouter(__DIR__ . '/routes');
$router->routeRequest('/blog');