jun3/lumen-make

Lumen Job, Modle, Controller, Command, Middleware, Logic, Service, Task, Event, Exception, Provider, Listener 自动创建脚手架

v1.2 2019-07-24 02:36 UTC

This package is auto-updated.

Last update: 2025-01-29 06:38:12 UTC


README

Lumen Job, Modle, Controller, Command, Middleware, Logic, Service, Task, Event, Exception, Provider, Listener, Trait 自动创建脚手架

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