百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

lumen-generator

> 后端框架
开源

您所缺少的流明发生器

810 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

您所缺少的流明发生器

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPlaravellumenlumen-generator

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

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