PHPackages                             php-arsenal/symfony-request-param-bagger - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-arsenal/symfony-request-param-bagger

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-arsenal/symfony-request-param-bagger
========================================

Collects sent parameters from Symfony Request and outputs an array.

0.5.5(2y ago)17.5k1MITPHPPHP &gt;=8.0.0

Since Oct 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/php-arsenal/symfony-request-param-bagger)[ Packagist](https://packagist.org/packages/php-arsenal/symfony-request-param-bagger)[ RSS](/packages/php-arsenal-symfony-request-param-bagger/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (0)

Symfony Request Param Bagger
============================

[](#symfony-request-param-bagger)

Collects sent parameters from Request and returns them in an array.

Features:

- assign default values
- cast to a specific type
- returns an array

Usage
-----

[](#usage)

Request example

```
{
    "type": "gold",
    "size": "20",
    "amount": "1.23"
}
```

Parse example

```
