| Package Data | |
|---|---|
| Maintainer Username: | smskin |
| Maintainer Contact: | mbonds1219@gmail.com (Michael Bonds) |
| Package Create Date: | 2017-02-08 |
| Package Last Update: | 2018-05-08 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-18 15:08:33 |
| Package Statistics | |
|---|---|
| Total Downloads: | 56,783 |
| Monthly Downloads: | 212 |
| Daily Downloads: | 26 |
| Total Stars: | 7 |
| Total Watchers: | 2 |
| Total Forks: | 3 |
| Total Open Issues: | 0 |
A package built for lumen that ports most of the make commands from laravel.
#Info This package based on michaelb/lumen-make (https://github.com/michaelbonds/lumen-make) library. Added:
Just run the following in the root of your project
> composer require smskin/lumen-make
Uncomment line in bootstrap/app.php
$app->register(App\Providers\EventServiceProvider::class);
Add line to bootstrap/app.php for enable generators
//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);
}
Add line to bootstrap/app.php for enable form requests
$app->register(SMSkin\LumenMake\Providers\FormRequestServiceProvider::class);
In generated requests used FormRequest from this library. If you want migrate to Laravel framework, change use line in all generated requests
use SMSkin\LumenMake\Requests\FormRequest;
\\to
use Illuminate\Foundation\Http\FormRequest;
make:job {name} - Makes a new job class in Jobs/make:console {name} - Makes a new console command in Console/Commands/make:controller {name} - Makes a new restful controller in Http/Controllers/make:model {name} - Makes a new model in /make:middleware {name} - Makes a new middleware class in Http/Middleware/make:exception {name} - Makes a new exception class in Exceptions/make:event {name} - Makes a new event class in Events/make:request {name} - Makes a new request class in Http/Requests/