sandronimus/nelmio-form-get-parameter-plugin-bundle
最新稳定版本:2.2.0
Composer 安装命令:
composer require sandronimus/nelmio-form-get-parameter-plugin-bundle
包简介
Extends NelmioApiDocBundle by providing ability to auto-register simple forms items as GET parameters.
README 文档
README
This bundle extends NelmioApiDocBundle by providing ability to auto-register forms as GET parameters.
Installation
Install with composer:
composer require sandronimus/nelmio-form-get-parameter-plugin-bundle
Add Sandronimus\NelmioFormGetParameterPluginBundle\NelmioFormGetParameterPluginBundle to your bundles.
How To Use
Add attribute to your controller action:
#[FormGetParameter(SomeFormType::class)]
And you will get whole form mapped as GET parameters in API documentation.
统计信息
- 总下载量: 1.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-12