PHPackages                             sbsedv/input-converter-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. [HTTP &amp; Networking](/categories/http)
4. /
5. sbsedv/input-converter-bundle

AbandonedArchivedSymfony-bundle[HTTP &amp; Networking](/categories/http)

sbsedv/input-converter-bundle
=============================

A Symfony ^6.1 bundle that adds the raw request body input to the http-foundation InputBag.

v3.1.0(2y ago)0115MITPHPPHP &gt;=8.1

Since May 18Pushed 2y agoCompare

[ Source](https://github.com/SBSEDV/input-converter-bundle)[ Packagist](https://packagist.org/packages/sbsedv/input-converter-bundle)[ RSS](/packages/sbsedv-input-converter-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

[![PHPStan](https://github.com/SBSEDV/input-converter-bundle/actions/workflows/phpstan.yml/badge.svg)](https://github.com/SBSEDV/input-converter-bundle/actions/workflows/phpstan.yml)[![PHPCS-Fixer](https://github.com/SBSEDV/input-converter-bundle/actions/workflows/phpcsfixer.yml/badge.svg)](https://github.com/SBSEDV/input-converter-bundle/actions/workflows/phpcsfixer.yml)

sbsedv/input-converter-bundle
=============================

[](#sbsedvinput-converter-bundle)

A [Symfony ^6.1](https://symfony.com/) bundle that adds the raw request body input to the http-foundation InputBag.

```
composer require sbsedv/input-converter-bundle
```

---

This bundle integrates [sbsedv/input-converter](https://github.com/SBSEDV/input-converter-php) into the [Symfony Framework](https://symfony.com/).

This bundle registers an event listener that runs as early as possible in the applications lifecycle and tries to parse the incoming request body and to add it to the main http-foundation request object.

By default this bundle comes with the following converters which are all enabled by default:

```
# config/packages/sbsedv_input_converter.yaml

# Default configuration values are shown

sbsedv_input_converter:
    # {NAME}_converter: false # disables the {NAME} converter

    json_converter:
        content_types: [application/json] # Http Content-Type headers on which this converter will work
        methods: [POST, PUT, PATCH, DELETE] # Http Methods on which this convert will work

    formdata_converter:
        methods: [PUT, PATCH, DELETE]
        file_support: false # Whether file uploads are added to the FileBag

    urlencoded_converter:
        enabled: false # disabled by default, see below
        methods: [PUT, PATCH, DELETE]
```

**WARNING**: You should not enable `file_support` for the `formdata_converter`.

The entire uploaded file would be copied into memory at least two times which will potentially use a lot of system memory (depending on the file size). PHPs `upload_max_filesize` INI setting has no effect, only `post_max_size`.

You should only rely on PHPs integrated file upload support.

---

**Custom Converters**
---------------------

[](#custom-converters)

If you want to register a custom converter (e.g. for YAML support), you only have to register a service in your application that implements the `SBSEDV\InputConverter\Converter\ConverterInterface`.

The bundle has autoconfiguration setup and each service that implements that interface will automatically be picked up.

---

**URLEncodedConverter Information**
-----------------------------------

[](#urlencodedconverter-information)

By default, the `urlencoded_converter` is disabled because `Symfony\Component\HttpFoundation\Request::createFromGlobals()` has the same functionality.

The vast majority of symfony applications boot up the framework in a way that creates the Request object with this static method. Because of this, the bundle disables its functionality by default to avoid unneccessary work.

In case you boot symfony without calling this method (e.g. in a runtime like [Swoole](https://github.com/php-runtime/swoole)), you can enable the functionality manually in the bundles config file.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~109 days

Total

5

Last Release

1023d ago

Major Versions

v1.1.0 → v2.0.02022-07-10

v2.0.0 → v3.0.02023-04-17

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.1.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![danielburger1337](https://avatars.githubusercontent.com/u/48986191?v=4)](https://github.com/danielburger1337 "danielburger1337 (25 commits)")

---

Tags

input-converterphpphp8symfonysymfony-bundlesymfony6

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sbsedv-input-converter-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sbsedv-input-converter-bundle/health.svg)](https://phpackages.com/packages/sbsedv-input-converter-bundle)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[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)[handcraftedinthealps/rest-routing-bundle

This bundle provides automatic route registration for the Controllers

582.0M2](/packages/handcraftedinthealps-rest-routing-bundle)[ideasoft/http-batch-bundle

Http batch server implementation for symfony via sub requests.

2520.4k](/packages/ideasoft-http-batch-bundle)

PHPackages © 2026

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