PHPackages                             flownative/rulebasedredirects - 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. flownative/rulebasedredirects

ActiveNeos-package[Utility &amp; Helpers](/categories/utility)

flownative/rulebasedredirects
=============================

Implements rule-based redirects for Flow applications

v1.0.0(3y ago)15.5k1[1 PRs](https://github.com/flownative/rulebasedredirects/pulls)MITPHP

Since Aug 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/flownative/rulebasedredirects)[ Packagist](https://packagist.org/packages/flownative/rulebasedredirects)[ RSS](/packages/flownative-rulebasedredirects/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![MIT license](https://camo.githubusercontent.com/4661abfe916186acde514558e7f040833cb63ba7098401a51ce339cbb2b4cf9e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](http://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/8423624d37642bb5a252b8c415c5b4b617c0375dbdda4e0fc1cef93eddec2f12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6f776e61746976652f72756c6562617365647265646972656374732e737667)](https://packagist.org/packages/flownative/rulebasedredirects)[![Maintenance level: Friendship](https://camo.githubusercontent.com/1e42f66452ae2f07329d87d031d01ae1825930fcd952c6a0f052ccfeaeaf0292/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e74656e616e63652d2545322539392541312545322539392541312d6666363962342e737667)](https://www.flownative.com/en/products/open-source.html)

Rule-Based Redirects for Flow
=============================

[](#rule-based-redirects-for-flow)

This package uses a PSR middleware to redirect requests to URLs using regular expression based rules.

It can be used to implement such redirect rules in cases where you cannot use the native ways of implementing them in your webserver (e.g. nginx or Apache httpd.)

Installation
------------

[](#installation)

`composer require flownative/rulebasedredirects`

Usage
-----

[](#usage)

As soon as the package is installed, the rules given in `Flownative.RuleBasedRedirects.rules`take effect. Here is an example:

```
Flownative:
  RuleBasedRedirects:
    rules: []
      - host: '/^www\.acme\.com$/'
        path: '/^\/foo\/(.*)$/'
        target: 'https://www.acme.com/elsewhere/$1'
        status: 301
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1373d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10280881?v=4)[Flownative](/maintainers/flownative)[@flownative](https://github.com/flownative)

---

Top Contributors

[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (2 commits)")

### Embed Badge

![Health badge](/badges/flownative-rulebasedredirects/health.svg)

```
[![Health](https://phpackages.com/badges/flownative-rulebasedredirects/health.svg)](https://phpackages.com/packages/flownative-rulebasedredirects)
```

###  Alternatives

[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.0M27](/packages/neos-eel)[neos/form

Extensible and flexible API for building web forms

18853.0k40](/packages/neos-form)[neos/fusion-form

Fusion Form

19724.3k31](/packages/neos-fusion-form)[ttree/scheduler

Simple task scheduler for Neos Flow Framework

21108.8k1](/packages/ttree-scheduler)[avency/neos-vardump

Neos VarDump Package

147.1k](/packages/avency-neos-vardump)[flowpack/task

A Task scheduler for Neos Flow

1136.3k1](/packages/flowpack-task)

PHPackages © 2026

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