PHPackages                             vdlp/oc-redirectconditionsuseragent-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-redirectconditionsuseragent-plugin

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

vdlp/oc-redirectconditionsuseragent-plugin
==========================================

Adds UserAgent specific conditions to the Redirect plugin.

1.2.0(11mo ago)11081GPL-2.0PHPPHP ^8.2.0CI passing

Since Mar 22Pushed 11mo ago6 watchersCompare

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

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

Vdlp.RedirectConditions.UserAgent (extension)
=============================================

[](#vdlpredirectconditionsuseragent-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)

### `CrawlerCondition`

[](#crawlercondition)

On a positive match the redirect will take place if the request came from a Crawler.

### `DeviceCondition`

[](#devicecondition)

On a positive match the redirect will take place if the request came from a specific device.

Available device types to choose from:

- Smartphone
- Tablet
- Desktop

### `OperationSystemCondition`

[](#operationsystemcondition)

On a positive match the redirect will take place if the request came from a specific operating system.

Available operating system families to choose from:

- Android
- AmigaOS
- Apple TV
- BlackBerry
- Brew
- BeOS
- Chrome OS
- Firefox OS
- Gaming Console
- Google TV
- IBM
- iOS
- RISC OS
- GNU/Linux
- Mac
- Mobile Gaming Console
- Real-time OS
- Other Mobile
- Symbian
- Unix
- WebTV
- Windows
- Windows Mobile

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/redirectconditionsuseragent

```

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

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 61.1% 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 ~774 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 (11 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-redirectconditionsuseragent-plugin/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[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)

PHPackages © 2026

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