[] (https://github.com/ThrusterIO/symfony-json-body-parser-bundle/releases) [] (LICENSE) [] (https://travis-ci.org/ThrusterIO/symfony-json-body-parser-bundle) [] (https://scrutinizer-ci.com/g/ThrusterIO/symfony-json-body-parser-bundle) [] (https://scrutinizer-ci.com/g/ThrusterIO/symfony-json-body-parser-bundle) [] (https://packagist.org/packages/thruster/symfony-json-body-parser-bundle)
The Thruster Symfony Json Body Parser Bundle. Parses JSON request body if request content type has word json
.
You can disable parser for single route with route attribute _ignore_json_body
Via Composer
$ composer require thruster/symfony-json-body-parser-bundle
Enable Bundle
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Thruster\Bundle\SymfonyJsonBodyParserBundle(),
// ...
);
}
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
Please see License File for more information.