PHP code example of mauricio-msp / routing-adapter
1. Go to this page and download the library: Download mauricio-msp/routing-adapter 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/ */
mauricio-msp / routing-adapter example snippets
php
= new \Src\Routing\Route();
$route->get('/', 'Index@action');
$route->dispatch();