PHPackages                             hofff/contao-restrict-get-parameters - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. hofff/contao-restrict-get-parameters

ActiveContao-bundle[Validation &amp; Sanitization](/categories/validation)

hofff/contao-restrict-get-parameters
====================================

Restrict allowed get parameters

1.0.4(1y ago)0184[1 issues](https://github.com/hofff/contao-restrict-get-parameters/issues)[1 PRs](https://github.com/hofff/contao-restrict-get-parameters/pulls)MITPHPPHP ^8.1CI passing

Since Jul 26Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/hofff/contao-restrict-get-parameters)[ Packagist](https://packagist.org/packages/hofff/contao-restrict-get-parameters)[ RSS](/packages/hofff-contao-restrict-get-parameters/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (8)Versions (7)Used By (0)

Contao Restrict Get Parameters
==============================

[](#contao-restrict-get-parameters)

This Contao extension allows you to restrict GET parameters in the frontend by configuring a whitelist of allowed parameter patterns. Any GET parameters not matching the whitelist will be marked as unused and won't be processed by Contao.

System Requirements
-------------------

[](#system-requirements)

- `PHP 8.1` or higher
- Contao `4.13+` or `5.3+`
- Symfony `5.4+, 6.4+ or 7.0+`

Configuration
-------------

[](#configuration)

In the Contao system settings, you can:

1. Enable GET parameter restriction
2. Configure a whitelist of allowed parameter patterns using wildcards (e.g., page\*, \*id, *alias*)

It's also possible to use the bundle configuration:

```
contao:
    localconfig:
      restrict_get_parameters: true
      restrict_get_parameters_whitelist: ['param-a', 'param-b']
```

Known limitations
-----------------

[](#known-limitations)

### Isotope product list

[](#isotope-product-list)

This extension uses the unused get parameter feature of Contao and marks all get parameters as unused before rendering a page. Used get parameters on the page are marked as used later on, so in the end Contao throws an exception if any parameter was not used. This does not work when a page contains an isotope product list / filter, as Isotope marks all get parameters as used.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance56

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.7% 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 ~122 days

Total

5

Last Release

618d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1232819?v=4)[Nicky Hoff](/maintainers/frontendschlampe)[@frontendschlampe](https://github.com/frontendschlampe)

---

Top Contributors

[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

### Embed Badge

![Health badge](/badges/hofff-contao-restrict-get-parameters/health.svg)

```
[![Health](https://phpackages.com/badges/hofff-contao-restrict-get-parameters/health.svg)](https://phpackages.com/packages/hofff-contao-restrict-get-parameters)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M414](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

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

3.6k257.3M12.2k](/packages/symfony-framework-bundle)[symfony/security-bundle

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

2.5k190.0M2.5k](/packages/symfony-security-bundle)[contao-community-alliance/dc-general

Universal data container for Contao

1581.4k93](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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