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

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

heimrichhannot/contao-request-bundle
====================================

A request class, that brings the symfony/http-foundation to contao.

1.3.1(4y ago)181.5k↓62.2%7LGPL-3.0-or-laterPHPPHP ^7.1|^8.0CI failing

Since Mar 12Pushed 2y ago5 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-request-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-request-bundle)[ Docs](https://github.com/heimrichhannot/contao-request-bundle)[ RSS](/packages/heimrichhannot-contao-request-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (13)Versions (18)Used By (7)

[![](https://camo.githubusercontent.com/ab7c14c4b193adbd8c38d63d7e1cbbe93e8543a9498da748b26054b1ac9c40c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)](https://camo.githubusercontent.com/ab7c14c4b193adbd8c38d63d7e1cbbe93e8543a9498da748b26054b1ac9c40c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)[![](https://camo.githubusercontent.com/d285b6e3142dd1df17e3ecb850b5f4949a568ad6286295f57b8e3ad0f8eeb260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)](https://camo.githubusercontent.com/d285b6e3142dd1df17e3ecb850b5f4949a568ad6286295f57b8e3ad0f8eeb260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)[![](https://camo.githubusercontent.com/79d151f36d2dc74aee198e05407a97d71162312034928884ea2b474bd0ca0b42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)](https://camo.githubusercontent.com/79d151f36d2dc74aee198e05407a97d71162312034928884ea2b474bd0ca0b42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652e737667)[![](https://camo.githubusercontent.com/6e95fb9dac4c0da655704fa19c05e3ca0d2cc4c3a9386f23b468d3a1620a1957/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652f6d61737465722e737667)](https://travis-ci.org/heimrichhannot/contao-request-bundle/)[![](https://camo.githubusercontent.com/7e2c655b1139d4dc269c264eab6fbea8b876503f192f3d56fc8f198c35fe86d0/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6865696d7269636868616e6e6f742f636f6e74616f2d726571756573742d62756e646c652f6d61737465722e737667)](https://coveralls.io/github/heimrichhannot/contao-request-bundle)

> This bundle is deprecated and not maintained activilty anymore!

Request Bundle
==============

[](#request-bundle)

Contao uses it own `Input` class, that check the request for $\_GET, $\_POST and more parameters. This is done directly on $\_GET, $\_POST Server Parameters and for Tests it is not possible to simulate the HTTP-Server. Here `HeimrichHannot\Request` put on and provide the sumilation of your own HTTP-Server object with help of `symfony/http-foundation`.

Technical instruction
---------------------

[](#technical-instruction)

Use the following alternatives for contao `Input` or `Environment` calls

ContaoRequest`\Input::get($strKey)``\Contao\System->getContainer()->get('huh.request')->getGet($strKey)``\Input::post($strKey)``\Contao\System->getContainer()->get('huh.request')->getPost($strKey)``\Input::postHtml($strKey)``\Contao\System->getContainer()->get('huh.request')->getPostHtml($strKey)``\Input::postRaw($strKey)``\Contao\System->getContainer()->get('huh.request')->getPostRaw($strKey)``\Input::setPost($strKey, $varValue)``\Contao\System->getContainer()->get('huh.request')->setPost($strKey, $varValue)``\Input::setGet($strKey, $varValue)``\Contao\System->getContainer()->get('huh.request')->setGet($strKey, $varValue)``isset($_GET[$strKey])``\Contao\System->getContainer()->get('huh.request')->hasGet($strKey)``isset($_POST[$strKey])``\Contao\System->getContainer()->get('huh.request')->hasPost($strKey)``\Environment::get('isAjaxRequest')``\Contao\System->getContainer()->get('huh.request')->isXmlHttpRequest()`Insert tags
-----------

[](#insert-tags)

For convenience we provide insert tags for some request method parameters.

**CAUTION: If you use the insert tags in SQL-Query Context, be sure that you escape the insert tag values by using e.g. `prepare('field=?')->execute('{{request_get::auto_item}}')`**

Insert tagDescription`{{request_get::*}}`This tag will be replaced with the XSS protected value of the query parameter (replace \* with the name of the query parameter, e.g. `auto_item`)`{{request_post::*}}`This tag will be replaced with the XSS protected value of the post parameter (replace \* with the name of the post parameter, e.g. `FORM_SUBMIT`)

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% 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 ~87 days

Recently: every ~78 days

Total

16

Last Release

1714d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (17 commits)")[![K0NZ1](https://avatars.githubusercontent.com/u/16319351?v=4)](https://github.com/K0NZ1 "K0NZ1 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-request-bundle/health.svg)

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

###  Alternatives

[api-platform/core

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

2.6k50.1M314](/packages/api-platform-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k172.8M347](/packages/symfony-security-http)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)

PHPackages © 2026

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