PHPackages                             vdlp/oc-redirectconditionsheader-plugin - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vdlp/oc-redirectconditionsheader-plugin

ActiveOctober-plugin[Utility &amp; Helpers](/categories/utility)

vdlp/oc-redirectconditionsheader-plugin
=======================================

Adds Header conditions to the Redirect plugin.

1.2.0(1y ago)1561proprietaryPHPPHP ^8.2.0

Since Apr 4Pushed 1y ago6 watchersCompare

[ Source](https://github.com/vdlp/oc-redirectconditionsheader-plugin)[ Packagist](https://packagist.org/packages/vdlp/oc-redirectconditionsheader-plugin)[ RSS](/packages/vdlp-oc-redirectconditionsheader-plugin/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Vdlp.RedirectConditions.Header (extension)
==========================================

[](#vdlpredirectconditionsheader-extension)

This is an extension plugin for the [Redirect](https://octobercms.com/plugin/vdlp-redirect) plugin for OctoberCMS.

Requirements
------------

[](#requirements)

- Plugin `Vdlp.Redirect`
- Plugin `Vdlp.RedirectConditions`

Conditions
----------

[](#conditions)

### `HeaderCondition`

[](#headercondition)

On a positive match the redirect will take place if the request matches given condition parameters.

**Condition parameters:**

- Header name (case insensitive)
- Header value (case insensitive)
- Whether to use regular expression for header value matching (see official [preg\_match](http://php.net/manual/en/function.preg-match.php) documentation)

Unit tests
----------

[](#unit-tests)

To run the Unit Tests of this plugin, execute the following command from the project root:

```
vendor/bin/phpunit plugins/vdlp/redirectconditionsheader

```

Questions? Need help?
---------------------

[](#questions-need-help)

If you have any question about how to use this plugin, please don't hesitate to contact us at . We're happy to help you. You can also visit the support forum and drop your questions/issues there.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance48

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% 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 ~770 days

Total

4

Last Release

381d ago

PHP version history (2 changes)1.1.0PHP ^8.0.2

1.2.0PHP ^8.2.0

### Community

Maintainers

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

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (12 commits)")[![sander-beenen](https://avatars.githubusercontent.com/u/2843816?v=4)](https://github.com/sander-beenen "sander-beenen (4 commits)")[![nathan-van-der-werf](https://avatars.githubusercontent.com/u/1123054?v=4)](https://github.com/nathan-van-der-werf "nathan-van-der-werf (2 commits)")[![mrmaarek](https://avatars.githubusercontent.com/u/3919811?v=4)](https://github.com/mrmaarek "mrmaarek (1 commits)")

### Embed Badge

![Health badge](/badges/vdlp-oc-redirectconditionsheader-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/vdlp-oc-redirectconditionsheader-plugin/health.svg)](https://phpackages.com/packages/vdlp-oc-redirectconditionsheader-plugin)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

10.3k2.7k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3407.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

20256.6k4](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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