PHPackages                             szymat/json-xml-request-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. szymat/json-xml-request-bundle

ActiveSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

szymat/json-xml-request-bundle
==============================

Symfony Json and XML Request Bundle (Fork)

v3.1.3(5y ago)08MITPHPPHP ^7.3

Since Dec 15Pushed 5y agoCompare

[ Source](https://github.com/szymat/json-request-bundle)[ Packagist](https://packagist.org/packages/szymat/json-xml-request-bundle)[ Docs](https://github.com/szymat/json-request-bundle)[ RSS](/packages/szymat-json-xml-request-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (14)Used By (0)

SymfonyBundles JsonXmlRequest Bundle
====================================

[](#symfonybundles-jsonxmlrequest-bundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/fd70d854331d9c5d2c2582212518788d2bfde3e6d913fcbbbbf234cfa131bb72/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64656136383633332d323336382d346531322d613531362d3839313537643263366230372f6269672e706e67)](https://insight.sensiolabs.com/projects/dea68633-2368-4e12-a516-89157d2c6b07)

[![Build Status](https://camo.githubusercontent.com/04d8ddce4394c80154f1429aae0e9df586c249f0927a644988132b297967aade/68747470733a2f2f7472617669732d63692e6f72672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/symfony-bundles/json-request-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6a30fdf312612a7a2a6f5f3965f6683fb42f3b81e30ca888ce0338c0aea51203/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/symfony-bundles/json-request-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ec3e2a15b4edf685ada7422f574d27f9c0878d0ec8d946035f7660cb7f971554/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/symfony-bundles/json-request-bundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/de07f3866934739888509eefd6789422a77ac2471001aad2b8b11444cd33786b/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/symfony-bundles/json-request-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/6db77c601b0d6de0e8b4aac33c168d0921f982a0278eba9091f347c7566c9270/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652f762f737461626c65)](https://packagist.org/packages/symfony-bundles/json-request-bundle)[![License](https://camo.githubusercontent.com/5a6d21302e9748d8164d417000cb04f7a5651e001a2b9b904d3e54ab2f2adbc6/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f6a736f6e2d726571756573742d62756e646c652f6c6963656e7365)](https://github.com/symfony-bundles/json-request-bundle/blob/master/LICENSE)

What is JsonRequest Bundle?
---------------------------

[](#what-is-jsonrequest-bundle)

This bundle will help you to work with json requests as standard requests without using «crutches». If previously for fetching of data from the request you did like this: `$data = json_decode($request->getContent())`, it is now in this already there is no need to.

For example when sending json-request from AngularJS, Vue.js or etc. Early:

```
public function indexAction(Request $request)
{
    $data = json_decode($request->getContent(), true);

    // uses request data
    $name = isset($data['name']) ? $data['name'] : null;
}
```

Now you can work with json-request as with standard request:

```
public function indexAction(Request $request)
{
    $name = $request->get('name');
}
```

All xml requests will be automatically parsed to Json

Installation
------------

[](#installation)

- Require the bundle with composer:

```
composer require szymat/json-request-bundle
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 70.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~111 days

Recently: every ~64 days

Total

13

Last Release

2107d ago

Major Versions

v1.2.1 → v2.0.02018-03-24

v2.0.1 → v3.0.02019-11-28

PHP version history (4 changes)v1.0.0PHP &gt;=5.6

v1.1.0PHP &gt;=5.5.9

v2.0.0PHP ^7.1.3

v3.0.0PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/726d24d36cd98d1d81f36285919364c747d40e5c2a4ad40da020eea0b0306a48?d=identicon)[szymat](/maintainers/szymat)

---

Top Contributors

[![khaperets](https://avatars.githubusercontent.com/u/2507262?v=4)](https://github.com/khaperets "khaperets (39 commits)")[![dmytro-khaperets](https://avatars.githubusercontent.com/u/171946311?v=4)](https://github.com/dmytro-khaperets "dmytro-khaperets (6 commits)")[![szymat](https://avatars.githubusercontent.com/u/58232016?v=4)](https://github.com/szymat "szymat (5 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (4 commits)")[![BlueM](https://avatars.githubusercontent.com/u/1493457?v=4)](https://github.com/BlueM "BlueM (1 commits)")

---

Tags

jsonsymfonybundlexmlangular

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/szymat-json-xml-request-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/szymat-json-xml-request-bundle/health.svg)](https://phpackages.com/packages/szymat-json-xml-request-bundle)
```

###  Alternatives

[presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

3929.4M28](/packages/presta-sitemap-bundle)[symfony-bundles/json-request-bundle

Symfony JsonRequest Bundle

501.6M6](/packages/symfony-bundles-json-request-bundle)[mcfedr/json-form

A couple of helper files for handling json with symfony forms

1387.5k1](/packages/mcfedr-json-form)[eprofos/user-agent-analyzer

A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device types (Desktop, Mobile, Tablet, TV...). Supports specific version detection and includes advanced handling of special cases like WebViews and compatibility modes. Features comprehensive logging and detailed analysis results.

182.3k](/packages/eprofos-user-agent-analyzer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
