PHPackages                             getherbie/plugin-redirect - 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. getherbie/plugin-redirect

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

getherbie/plugin-redirect
=========================

Redirect Plugin for Herbie.

v1.0.0(10y ago)12501BSD-3-ClausePHP

Since Apr 5Pushed 8y agoCompare

[ Source](https://github.com/getherbie-plugin/redirect)[ Packagist](https://packagist.org/packages/getherbie/plugin-redirect)[ Docs](http://www.getherbie.org)[ RSS](/packages/getherbie-plugin-redirect/feed)WikiDiscussions master Synced 1mo ago

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

Redirect Plugin
===============

[](#redirect-plugin)

`Redirect` ist ein [Herbie](http://github.com/getherbie/herbie) Plugin, mit dem du auf einer beliebigen Seite eine Weiterleitung zu einer internen Seite oder externen URL vornehmen kannst.

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

[](#installation)

Das Plugin installierst du via Composer.

```
$ composer require getherbie/plugin-redirect

```

Danach aktivierst du das Plugin in der Konfigurationsdatei.

```
plugins:
    enable:
        - redirect

```

Anwendung
---------

[](#anwendung)

Die Weiterleitung definierst du über die Seiteneigenschaften. Im einfachsten Fall sieht das so aus:

```
---
title: Weiterleitung
redirect: https://www.getherbie.org
---

```

Per Default wird der HTTP-Statuscode 302 gesendet. Möchtest Du einen eigenen Statuscode senden, kannst du das wie folgt machen:

```
---
title: Weiterleitung
redirect:
  url: https://www.getherbie.org
  status: 301
---

```

Der angegebene Statuscode muss im Bereich von 300 und 400 liegen. Mehr zum Thema HTTP-Statuscodes findest du auf [Wikipedia](https://de.wikipedia.org/wiki/HTTP-Statuscode).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3695d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bdbbcc7c6a4eb0680b6f21d894db260f9863c0743d34365f723545aed49525d?d=identicon)[getherbie](/maintainers/getherbie)

---

Top Contributors

[![tbreuss](https://avatars.githubusercontent.com/u/1334161?v=4)](https://github.com/tbreuss "tbreuss (11 commits)")

---

Tags

pluginredirectherbie

### Embed Badge

![Health badge](/badges/getherbie-plugin-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/getherbie-plugin-redirect/health.svg)](https://phpackages.com/packages/getherbie-plugin-redirect)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)

PHPackages © 2026

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