PHPackages                             qandidate/symfony-json-request-transformer - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. qandidate/symfony-json-request-transformer

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

qandidate/symfony-json-request-transformer
==========================================

A Symfony event listener for decoding JSON encoded request content

2.2.0(3y ago)1242.1M↓36.1%181MITPHP

Since Aug 12Pushed 2y ago8 watchersCompare

[ Source](https://github.com/qandidate-labs/symfony-json-request-transformer)[ Packagist](https://packagist.org/packages/qandidate/symfony-json-request-transformer)[ RSS](/packages/qandidate-symfony-json-request-transformer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (14)Used By (1)

symfony-json-request-transformer
================================

[](#symfony-json-request-transformer)

> 🚨 This repository is archived as it has served its purpose. Symfony has built-in support for this: [https://symfony.com/doc/current/components/http\_foundation.html#accessing-request-data](https://symfony.com/doc/current/components/http_foundation.html#accessing-request-data)
>
> `$request->getPayload()->get('foo');`

A Symfony event listener for decoding JSON encoded request content.

[![build status](https://github.com/qandidate-labs/symfony-json-request-transformer/actions/workflows/ci.yml/badge.svg)](https://github.com/qandidate-labs/symfony-json-request-transformer/actions/workflows/ci.yml/badge.svg)

About
-----

[](#about)

Read the blog post about this repository at

Install
-------

[](#install)

Install qandidate/symfony-json-request-transformer [through composer](http://getcomposer.org).

```
composer require qandidate/symfony-json-request-transformer
```

Register the event listener as a service:

```

```

```
services:
  kernel.event_listener.json_request_transformer:
    class: Qandidate\Common\Symfony\HttpKernel\EventListener\JsonRequestTransformerListener
    tags:
      - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 100 }
```

Example
-------

[](#example)

A request with JSON content like:

```
{
  "foo": "bar"
}
```

will be decoded automatically so can access the `foo` property like:

```
echo $request->request->get('foo');
```

License
-------

[](#license)

MIT, see LICENSE.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity57

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~341 days

Recently: every ~457 days

Total

10

Last Release

1219d ago

Major Versions

1.3.0 → 2.0.02020-03-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/78fcc60c1d576c1f19a4c03297931f879354efbb7e054318ffe391a2a2f0a274?d=identicon)[asm89](/maintainers/asm89)

![](https://www.gravatar.com/avatar/e56158df0a7656e82c3fe2cee4d8173ef9c26fcd8882abd7dadfbdbd9eb93f89?d=identicon)[othillo](/maintainers/othillo)

![](https://www.gravatar.com/avatar/f7574666ab99bc2faa687ea957c2d12e24f26017140a53eaf369095415679b98?d=identicon)[wjzijderveld](/maintainers/wjzijderveld)

![](https://www.gravatar.com/avatar/387cfcacd63a3599555e6e7ece12c3f224abd718e7b8425b09586d0502107b66?d=identicon)[fritsjanb](/maintainers/fritsjanb)

![](https://www.gravatar.com/avatar/8975ebed957752c13449a32c9e528a43e7fd219ecc0244018e64ed1ee2079e28?d=identicon)[E1379](/maintainers/E1379)

---

Top Contributors

[![othillo](https://avatars.githubusercontent.com/u/2786663?v=4)](https://github.com/othillo "othillo (37 commits)")[![wjzijderveld](https://avatars.githubusercontent.com/u/450201?v=4)](https://github.com/wjzijderveld "wjzijderveld (22 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![yosmanyga](https://avatars.githubusercontent.com/u/237282?v=4)](https://github.com/yosmanyga "yosmanyga (3 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (2 commits)")[![fracz](https://avatars.githubusercontent.com/u/3918865?v=4)](https://github.com/fracz "fracz (1 commits)")[![ifdattic](https://avatars.githubusercontent.com/u/966877?v=4)](https://github.com/ifdattic "ifdattic (1 commits)")[![luliandro](https://avatars.githubusercontent.com/u/781482?v=4)](https://github.com/luliandro "luliandro (1 commits)")[![darenas31415](https://avatars.githubusercontent.com/u/16238028?v=4)](https://github.com/darenas31415 "darenas31415 (1 commits)")[![vincentchalamon](https://avatars.githubusercontent.com/u/407859?v=4)](https://github.com/vincentchalamon "vincentchalamon (1 commits)")[![bartosz-maciaszek](https://avatars.githubusercontent.com/u/1911210?v=4)](https://github.com/bartosz-maciaszek "bartosz-maciaszek (1 commits)")[![E1379](https://avatars.githubusercontent.com/u/2213193?v=4)](https://github.com/E1379 "E1379 (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/qandidate-symfony-json-request-transformer/health.svg)

```
[![Health](https://phpackages.com/badges/qandidate-symfony-json-request-transformer/health.svg)](https://phpackages.com/packages/qandidate-symfony-json-request-transformer)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[friendsofsymfony/http-cache-bundle

Set path based HTTP cache headers and send invalidation requests to your HTTP cache

43813.2M47](/packages/friendsofsymfony-http-cache-bundle)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[api-platform/state

API Platform state interfaces

223.4M57](/packages/api-platform-state)[api-platform/validator

API Platform validator component

223.2M10](/packages/api-platform-validator)

PHPackages © 2026

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