PHP code example of johnylemon / explainer-lumen

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

    

johnylemon / explainer-lumen example snippets


// $app = new Laravel\Lumen\Application(
//     dirname(__DIR__)
// );

$app = new Lemon\ExplainerLumen\Application(
    dirname(__DIR__)
);

php artisan explain:route IndexRouteExplain


php artisan explain:example ValidationExample


php artisan explain