Process request body and injects it into Symfony2 controllers.
You can install this library:
- Install via composer:
composer require shopery/body-bundle
- Use the official Git repository:
git clone https://github.com/shopery/body-bundle
.
And add the bundle to your kernel as usual.
If you have any trouble, please refer to the symfony docs.
Just type-hint any parameter to Shopery\Bundle\BodyBundle\Request\Body
in your symfony controller and your ready to go.