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(11mo ago)1551proprietaryPHPPHP ^8.2.0

Since Apr 4Pushed 11mo 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 today

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

43

—

FairBetter than 89% of packages

Maintenance52

Moderate activity, may be stable

Popularity14

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

336d 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.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

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

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

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

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

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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