| Package Data | |
|---|---|
| Maintainer Username: | krisanalfa | 
| Maintainer Contact: | krisan47@gmail.com (Krisan Alfa Timur) | 
| Package Create Date: | 2016-10-20 | 
| Package Last Update: | 2024-04-22 | 
| Home Page: | https://packagist.org/packages/flipbox/lumen-generator | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-27 03:06:08 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 2,670,658 | 
| Monthly Downloads: | 28,555 | 
| Daily Downloads: | 365 | 
| Total Stars: | 814 | 
| Total Watchers: | 24 | 
| Total Forks: | 124 | 
| Total Open Issues: | 5 | 
Do you miss any Laravel code generator on your Lumen project? If yes, then you're in the right place.
To use some generators command in Lumen (just like you do in Laravel), you need to add this package:
composer require flipbox/lumen-generator
Inside your bootstrap/app.php file, add:
$app->register(Flipbox\LumenGenerator\LumenGeneratorServiceProvider::class);
key:generate      Set the application key
make:command      Create a new Artisan command
make:controller   Create a new controller class
make:event        Create a new event class
make:job          Create a new job class
make:listener     Create a new event listener class
make:mail         Create a new email class
make:middleware   Create a new middleware class
make:migration    Create a new migration file
make:model        Create a new Eloquent model class
make:policy       Create a new policy class
make:provider     Create a new service provider class
make:seeder       Create a new seeder class
make:test         Create a new test class
clear-compiled    Remove the compiled class file
serve             Serve the application on the PHP development server
tinker            Interact with your application
optimize          Optimize the framework for better performance
route:list        Display all registered routes.
NOTES
route:listcommand has been added via appzcoder/lumen-route-list package.
include Argument Usagephp artisan tinker path/to/tinker/script.php
script.php example:
$environment = app()->environment();
$output = new Symfony\Component\Console\Output\ConsoleOutput();
$output->writeln("<info>Hello the app environment is `{$environment}`</info>");
$output->writeln("<comment>Did something</comment>");
$output->writeln("<error>Did something bad</error>");