Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lumen-generator

> 后端框架
Open source

A Lumen Generator You Are Missing

810 stars0 likes2 views
WebsiteGitHub

About

A Lumen Generator You Are Missing

Lumen Generator

Do you miss any Laravel code generator on your Lumen project? If yes, then you're in the right place.

Installation

To use some generators command in Lumen (just like you do in Laravel), you need to add this package:

bash
composer require flipbox/lumen-generator

Configuration

Inside your bootstrap/app.php file, add:

php
$app->register(Flipbox\LumenGenerator\LumenGeneratorServiceProvider::class);

Available Command

…

Additional Useful Command

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:list command has been added via appzcoder/lumen-route-list package.

Tinker include Argument Usage

php artisan tinker path/to/tinker/script.php

script.php example:

$environment = app()->environment();
$output = new Symfony\Component\Console\Output\ConsoleOutput();
$output->writeln("Hello the app environment is `{$environment}`");
$output->writeln("Did something");
$output->writeln("Did something bad");

Issues· 7 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPlaravellumenlumen-generator

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架