hyperf/docs/en/devtool.md

31 lines
855 B
Markdown
Raw Normal View History

# Dev Tool
2019-05-16 20:18:43 +08:00
2019-12-12 16:24:04 +08:00
## Installation
2019-05-16 20:18:43 +08:00
```
composer require hyperf/devtool
2019-05-24 15:44:28 +08:00
```
# Supported Commands
2019-05-16 20:18:43 +08:00
2019-05-24 15:44:28 +08:00
```bash
2019-05-16 20:18:43 +08:00
php bin/hyperf.php
2019-05-24 15:44:28 +08:00
```
All commands supported by Command can be listed by executing the above command. Series of commands under the `gen` and `vendor:publish` mainly provide support for the `devtool` component.
2019-05-16 20:18:43 +08:00
2019-05-24 15:44:28 +08:00
```
2019-05-16 20:18:43 +08:00
gen
gen:amqp-consumer Create a new amqp consumer class
gen:amqp-producer Create a new amqp producer class
gen:aspect Create a new aspect class
gen:command Create a new command class
gen:controller Create a new controller class
gen:job Create a new job class
gen:listener Create a new listener class
gen:middleware Create a new middleware class
gen:process Create a new process class
vendor
vendor:publish Publish any publishable configs from vendor packages.
```