thruster / symfony-json-body-parser-bundle
Thruster SymfonyJsonBodyParserBundle Bundle
Requires
- php: >=7.0
- symfony/framework-bundle: ~2.3|~3.0|~4.0
Requires (Dev)
- phpunit/phpunit: ~5.1
This package is auto-updated.
Last update: 2024-10-14 02:57:37 UTC
README
[] (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
Install
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(), // ... ); }
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
License
Please see License File for more information.