Download the PHP package eric-strive/hyperf-tool without Composer
On this page you can find all versions of the php package eric-strive/hyperf-tool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eric-strive/hyperf-tool
More information about eric-strive/hyperf-tool
Files in eric-strive/hyperf-tool
Download eric-strive/hyperf-tool
More information about eric-strive/hyperf-tool
Files in eric-strive/hyperf-tool
Vendor eric-strive
Package hyperf-tool
Short Description A Devtool for Hyperf.
License MIT
Homepage https://hyperf.io
Package hyperf-tool
Short Description A Devtool for Hyperf.
License MIT
Homepage https://hyperf.io
Please rate this library. Is it a good library?
Informations about the package hyperf-tool
hyperf-tool
功能
- 该组件主要是根据开发扩展一些hyperf的工具,主要有gii工具、swagger的扩展等... 持续跟进中。。。
下载安装包
同步配置
- swagger模板配置在
App\Constants\SwaggerTemplate
,可以将重复出现的swagger配置在SwaggerTemplate
中, 可以极大的简化controller swagger代码量
swagger使用示例 这里需要配合 daodao97/apidog 使用,感谢 hyperf
开发中之一刀哥提供如此好用的swagger
-
ValidationRequest :template:是配置的模板,这可以将很复杂的注解简化
-
BodyValidation 简化body,这里将结合Request,可以将校验和Request结合,可以复用配置校验
- SwaggerResponse 这里是扩展了ApiResponse,可以极大的依赖Request,达到复用以及简化controller代码
代码生成
- 现将model代码复制放入app\Model
-
controller自动生成
- request自动生成
导入导出工具
-
导入
- 导出
有任何问题请联系 [email protected]
All versions of hyperf-tool with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package eric-strive/hyperf-tool contains the following files
Loading the files please wait ....