PHP code example of smskin / lumen-make

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

    

smskin / lumen-make example snippets


$app->register(App\Providers\EventServiceProvider::class);

//for enable generator permanently
$app->register(SMSkin\LumenMake\LumenMakeServiceProvider::class);

//for enable generator in development mode
if (env('APP_ENV') != 'production' || env('APP_ENV') == 'local') {
    $app->register(SMSkin\LumenMake\LumenMakeServiceProvider::class);
}

$app->register(SMSkin\LumenMake\Providers\FormRequestServiceProvider::class);

use SMSkin\LumenMake\Requests\FormRequest; 
\\to
use Illuminate\Foundation\Http\FormRequest;