PHP code example of adoolaard / lumen-routes-list

1. Go to this page and download the library: Download adoolaard/lumen-routes-list 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/ */

    

adoolaard / lumen-routes-list example snippets


    $app->register(adoolaard\LumenRoutesList\RoutesCommandServiceProvider::class);
    

    composer dump-autoload
    

php artisan route:list

php artisan route:list --columns=Verb --columns=Path --columns=NamedRoute

php artisan route:list --compact

php artisan route:list --method=GET