1. Go to this page and download the library: Download phpzm/simples 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/ */
return function($router) {
// lista com arquivos de rota
$router->group('GET', '/site', ['more/files/routes.php', 'more/files/site.php']);
// pasta que contém arquivos de rotas
$router->group('*', '/api', 'api/routes');
}