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. hofff/contao-restrict-get-parameters

ActiveContao-bundle

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

Restrict allowed get parameters

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

Since Jul 26Pushed 2w 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 today

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

40

—

FairBetter than 88% of packages

Maintenance72

Regular maintenance activity

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef84f29864d94ca23f0adcec7922751ac34cda30f3bc9af45c90b92e11509e73?d=identicon)[frontendschlampe](/maintainers/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

[terminal42/contao-inserttags

Contao extension to create custom insert tags.

1047.6k](/packages/terminal42-contao-inserttags)[hofff/contao-layoutusage

Shows on which pages the layouts are used

114.1k](/packages/hofff-contao-layoutusage)

PHPackages © 2026

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