jun3372 / lumen-make by jun3

Lumen Job, Modle, Controller, Command, Middleware, Logic, Service, Task, Event, Exception, Provider, Listener 自动创建脚手架
692
2
1
Package Data
Maintainer Username: jun3
Maintainer Contact: zhoujun3372@gmail.com (哲学)
Package Create Date: 2019-06-19
Package Last Update: 2019-07-31
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2025-02-06 15:05:43
Package Statistics
Total Downloads: 692
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 2
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Installing

$ composer require jun3/lumen-make -vvv

配置

Lumen 应用

bootstrap/app.php 中 82 行左右:


$app->register(Jun3\LumenMake\ServiceProvider::class);

使用

命令

  • make:job {name}
  • make:task {name}
  • make:model {name}
  • make:event {name}
  • make:logic {name}
  • make:service {name}
  • make:console {name}
  • make:provider {name}
  • make:listener {name}
  • make:exception {name}
  • make:controller {name}
  • make:middleware {name}

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT