PHPackages                             domingollanes/strong-parameters-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. domingollanes/strong-parameters-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

domingollanes/strong-parameters-bundle
======================================

Strong parameters from Rails inside Symfony

v0.2(7y ago)19MITPHPPHP ^5.5.9 || ^7.0

Since Oct 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DomingoLlanes/StrongParametersBundle)[ Packagist](https://packagist.org/packages/domingollanes/strong-parameters-bundle)[ RSS](/packages/domingollanes-strong-parameters-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Strong Parameters Bundle
========================

[](#strong-parameters-bundle)

This bundle allow to simulate Strong Parameters from Rails, inside Symfony Controllers.

You can simply allow and deny items from parameters.

This bundle is really useful for APIs, but can be used in any application.

**ALERT:** this is an early version.

Tested only in Symfony 3.4.

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require domingollanes/strong-parameters-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
