PHPackages                             pubvana/redirects - 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. pubvana/redirects

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

pubvana/redirects
=================

Redirection Manager for Pubvana CMS

0.2.1(1mo ago)031MITPHPPHP ^8.1

Since May 1Pushed 1mo agoCompare

[ Source](https://github.com/Pubvana-CMS/redirects)[ Packagist](https://packagist.org/packages/pubvana/redirects)[ RSS](/packages/pubvana-redirects/feed)WikiDiscussions main Synced 1w ago

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

[![Stable? Not Quite Yet](https://camo.githubusercontent.com/8712c441bb32fd8db507e0008c5d13e30def50064f8fcbc689fbcf5191f7d2af/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652533462d6e6f7425323071756974652532307965742d626c75653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pubvana/redirects)[![License](https://camo.githubusercontent.com/d8131048688729bc4067daacb2afd2ee951634b75cae69e7faf1c39248207e44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f70756276616e612f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pubvana/redirects)[![PHP Version](https://camo.githubusercontent.com/80d2bf158ef5f75b80d7a5bac7f1f527363893c93826439c68da9f1638bca416/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f70756276616e612f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pubvana/redirects)[![Monthly Downloads](https://camo.githubusercontent.com/d0a16de8693bc2687ce3e2a224c64f8abdadefb91bb5e410a010ab211a37f9f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f70756276616e612f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pubvana/redirects)[![Total Downloads](https://camo.githubusercontent.com/eeac68ca842266041078a93fa298c40919cbb8517e429b3c37e1c8a4989a82c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70756276616e612f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/pubvana/redirects)[![GitHub Issues](https://camo.githubusercontent.com/469ce39d8d5efd2f95323076aca2146db6f8e10ad8639e6784411ef83208c378/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f50756276616e612d434d532f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://github.com/Pubvana-CMS/redirects/issues)[![Contributors](https://camo.githubusercontent.com/260e5bb94994a4c326b89ea170fe4882ec2bae3084f81b07ee6963fc12b099c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f50756276616e612d434d532f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://github.com/Pubvana-CMS/redirects/graphs/contributors)[![Latest Release](https://camo.githubusercontent.com/9f8f75fedcc2395750b6f12cd3d1b344f1aba73e7082383486e8f1d20d84e1a8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f50756276616e612d434d532f7265646972656374733f7374796c653d666f722d7468652d6261646765)](https://github.com/Pubvana-CMS/redirects/releases)[![Contributions Welcome](https://camo.githubusercontent.com/9db3f8b82ea88469efd296a9305fc00f40b4c9450bb6b539d42d339fa6963444/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d626c75653f7374796c653d666f722d7468652d6261646765)](https://github.com/Pubvana-CMS/redirects/pulls)

Pubvana Redirects
=================

[](#pubvana-redirects)

**I noticed folks downloading some of these packages. I'm super grateful, Thank You! I would like to let folks know until this notice disappears I'm doing a lot of breaking changes without worrying about them. Once versions are up around 0.5.x things should settle down.**

Redirect and broken-link management for Pubvana CMS.

Related Docs
------------

[](#related-docs)

- Project docs index: [docs/README.md](../../../docs/README.md)
- Pubvana roadmap: [docs/PUBVANA-ROADMAP.md](../../../docs/PUBVANA-ROADMAP.md)
- Admin extension points: [docs/ADMIN-EXTENSION-SYSTEM.md](../../../docs/ADMIN-EXTENSION-SYSTEM.md)

Features
--------

[](#features)

- Admin CRUD for exact-path redirects
- Incoming broken-link (`404`) manager
- Internal path or external URL targets
- `301` and `302` status codes
- Enable/disable per redirect
- Hit counting and last-hit timestamp
- Runtime request interception before normal routing
- Incoming 404 logging with ignore / delete / create-redirect workflow

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

[](#installation)

```
composer require pubvana/redirects
```

Enable in `app/config/config.php`:

```
'plugins' => [
    'pubvana/redirects' => [
        'enabled'  => true,
        'priority' => 50,
    ],
],
```

Flight School config
--------------------

[](#flight-school-config)

This package uses Flight School's return-array config format. `src/Config/Config.php` returns the package defaults as an array, and Flight School stores that array under `pubvana.redirects` on `$app`.

That returned array currently includes `'routePrepend' => 'redirects'`. This package currently ships admin routes only, so its UI remains under `/admin/redirects` and `/admin/404-manager`.

Structure
---------

[](#structure)

This plugin follows the standard Pubvana / Flight School package shape:

- `src/Plugin.php`
- `src/Controllers/RedirectsAdminController.php`
- `src/Services/RedirectsService.php`
- `src/Models/Redirect.php`
- `src/Database/Migrations/`
- `src/Views/redirects/`

Services
--------

[](#services)

Mapped as:

- `$app->redirects()`
- `$app->incomingBrokenLinks()`

Common responsibilities:

- manage redirect records
- intercept matching incoming requests
- log unresolved 404 requests
- expose 404-manager data for admin review

Admin
-----

[](#admin)

Admin screens include:

- `/admin/redirects`
- `/admin/redirects/create`
- `/admin/404-manager`

Notes
-----

[](#notes)

- Redirect matching is exact-path only in this first pass.
- Query strings are ignored for matching, but preserved onto the redirect target.
- Admin and API paths are skipped by default at runtime.
- Incoming 404 logging is tracked separately from redirect rules.

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

[](#requirements)

- PHP ^8.1
- enlivenapp/flight-school ^0.2
- enlivenapp/flight-shield
- enlivenapp/migrations
- flightphp/active-record ^0.7
- pubvana/admin

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance93

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

Every ~2 days

Total

3

Last Release

35d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3036663?v=4)[Mike W](/maintainers/enlivenapp)[@enlivenapp](https://github.com/enlivenapp)

---

Top Contributors

[![enlivenapp](https://avatars.githubusercontent.com/u/3036663?v=4)](https://github.com/enlivenapp "enlivenapp (3 commits)")

### Embed Badge

![Health badge](/badges/pubvana-redirects/health.svg)

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

###  Alternatives

[bentools/cartesian-product

A simple, low-memory footprint function to generate all combinations from a multi-dimensionnal array.

87930.7k19](/packages/bentools-cartesian-product)

PHPackages © 2026

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