PHP code example of shiftechafrica / lumen-take-off
1. Go to this page and download the library: Download shiftechafrica/lumen-take-off 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/ */
shiftechafrica / lumen-take-off example snippets
$app->register(App\Providers\EventServiceProvider::class);
//for enable generator permanently
$app->register(ShiftechAfrica\LumenMakeServiceProvider::class);
//for enable generator in development mode
if (env('APP_ENV') != 'production' || env('APP_ENV') == 'local') {
$app->register(ShiftechAfrica\LumenMakeServiceProvider::class);
}
$app->register(ShiftechAfrica\FormRequestServiceProvider::class);
use ShiftechAfrica\Requests\LumenFormRequest;
\\to
use Illuminate\Foundation\Http\FormRequest;
##### And much more...