sonntagnacht/requestparam-bundle

easier validation of request data

Maintainers

Package info

github.com/sonntagnacht/SNRequestParamBundle

Type:symfony-bundle

pkg:composer/sonntagnacht/requestparam-bundle

Statistics

Installs: 37

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.1 2019-04-15 08:26 UTC

This package is auto-updated.

Last update: 2026-02-16 00:14:01 UTC


README

RequestParamBundle is an easier way to validate request data and use auto-complete request data in your IDE.

Version Travis SensioLabs Insight Coveralls

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