sonntagnacht / requestparam-bundle
easier validation of request data
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- behat/transliterator: ^1.1
- symfony/framework-bundle: ^3.4|^4.0
Requires (Dev)
- phpunit/phpunit: 6.*
- satooshi/php-coveralls: ^2.0
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; } // ... }