niellles/lumen-commands 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

niellles/lumen-commands

最新稳定版本:1.0.0

Composer 安装命令:

composer require niellles/lumen-commands

包简介

Adds artisan commands to Lumen that aren't available by default.

README 文档

README

Lumen version Packagist Version GitHub release (latest by date including pre-releases) GitHub issues Packagist License

lumen-commands

This package adds commands that you may know from Laravel, but aren't supported in Lumen by default.

Installation

It's recommended to only use this package in your development environment. You will not need these commands in production and Laravel left them out for a reason. Add "niellles/lumen-commands": "dev-master" to "require-dev" in your composer.json.

"require-dev": { ... "niellles/lumen-commands": "^1.0.0" }

Add the following lines to your app.php:

if (env('APP_ENV') === 'local') { $app->bind(Illuminate\Database\ConnectionResolverInterface::class, Illuminate\Database\ConnectionResolver::class); $app->register(Niellles\LumenCommands\LumenCommandsServiceProvider::class); }

You can now run the commands, like you would under a Laravel installation, from your CLI of choice:
php artisan make:model test

Currently supported Commands

Not all of Laravel's commands are included in this package. At this point it's only some make:* commands that I really missed. If you miss a particular command feel free to request it, or better yet: create it yourself (not much more than copy/paste) and do a pull-request.

  • make:console {name}
  • make:controller {name}
  • make:exception {name}
  • make:job {name}
  • make:middleware {name}
  • make:model {name}
  • make:seed {name}

统计信息

  • 总下载量: 59.19k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固