PHPackages                             ivrok/wp-router - 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. ivrok/wp-router

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ivrok/wp-router
===============

A router for Wordpress.

1.0.2(3y ago)0201MITPHP

Since Feb 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ivrok/WPRouter)[ Packagist](https://packagist.org/packages/ivrok/wp-router)[ RSS](/packages/ivrok-wp-router/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

WPRouter
========

[](#wprouter)

A router for Wordpress.

Installation:
-------------

[](#installation)

```
composer require ivrok/wp-router
```

Usage example:
--------------

[](#usage-example)

```
use Ivrok\WPRouter\WPRoute;
use Ivrok\WPRouter\WPRouter;

$usersController = new \UsersController();

$router = new WPRouter();
$router->addRoute(new WPRoute("show-users", [$usersController, "index"]));
$router->addRoute(new WPRoute("show-users/{su_id}", fn($suID) => echo $suID));
$router->init();
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

1244d ago

### Community

Maintainers

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

---

Top Contributors

[![ivrok](https://avatars.githubusercontent.com/u/8004872?v=4)](https://github.com/ivrok "ivrok (6 commits)")[![axoloth](https://avatars.githubusercontent.com/u/8740682?v=4)](https://github.com/axoloth "axoloth (2 commits)")

---

Tags

phprouterwordpress

### Embed Badge

![Health badge](/badges/ivrok-wp-router/health.svg)

```
[![Health](https://phpackages.com/badges/ivrok-wp-router/health.svg)](https://phpackages.com/packages/ivrok-wp-router)
```

PHPackages © 2026

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