Skip to content

ThrusterIO/symfony-json-body-parser-bundle

Repository files navigation

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.

About

The Thruster Symfony Json Body Parser Bundle.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages