thruster/symfony-json-body-parser-bundle

Thruster SymfonyJsonBodyParserBundle Bundle

1.2 2018-01-31 18:36 UTC

This package is auto-updated.

Last update: 2024-10-14 02:57:37 UTC


README

[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.