PHP code example of ennetech / laravel-routing-utilities
1. Go to this page and download the library: Download ennetech/laravel-routing-utilities 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/ */
ennetech / laravel-routing-utilities example snippets
Route::prefix('api/v1')
->middleware('api')
->group(function () {
RouteAutoloader::loadNamespace('App\Http\Controllers\Api\v1');
});