Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.91 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.91 KB

SymfonyJsonBodyParserBundle Bundle

[Latest Version] (https://github.com/ThrusterIO/symfony-json-body-parser-bundle/releases) [Software License] (LICENSE) [Build Status] (https://travis-ci.org/ThrusterIO/symfony-json-body-parser-bundle) [Code Coverage] (https://scrutinizer-ci.com/g/ThrusterIO/symfony-json-body-parser-bundle) [Quality Score] (https://scrutinizer-ci.com/g/ThrusterIO/symfony-json-body-parser-bundle) [Total Downloads] (https://packagist.org/packages/thruster/symfony-json-body-parser-bundle)

[Email] (mailto:team@thruster.io)

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.