PHP code example of cbxtechcorp / lumen-api-routes-list

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

    

cbxtechcorp / lumen-api-routes-list example snippets

 php
//list api routes
if (class_exists(CbxTechCorp\LumenApiRoutesList\ApiRoutesCommandServiceProvider::class)) {
    $app->register(CbxTechCorp\LumenApiRoutesList\ApiRoutesCommandServiceProvider::class);
};
bash
php artisan api:routes