PHP code example of clarence / lumen-default-routes
1. Go to this page and download the library: Download clarence/lumen-default-routes 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/ */
clarence / lumen-default-routes example snippets
// bootstrap/app.php
$app = new Laravel\Lumen\Application(
realpath(__DIR__.'/../')
);
//...
$app->group(['namespace' => 'App\Http\Controllers'], function ($app) {