sonntagnacht/requestparam-bundle
Composer 安装命令:
composer require sonntagnacht/requestparam-bundle
包简介
easier validation of request data
README 文档
README
RequestParamBundle is an easier way to validate request data and use auto-complete request data in your IDE.
Installation
Run composer require sonntagnacht/requestparam-bundle to use SNRequestParamBundle in your Symfony Project.
Configuration
AppKernel.php
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\SecurityBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(), // ... new SN\RequestParamBundle\SNRequestParamBundle(), // ... return $bundles; } // ... }
Examples
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-20