PHPackages                             wenprise/wordpress-dispatcher - 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. [API Development](/categories/api)
4. /
5. wenprise/wordpress-dispatcher

ActiveLibrary[API Development](/categories/api)

wenprise/wordpress-dispatcher
=============================

Create URL endpoints within WordPress

2.2(1y ago)0501MITPHPPHP &gt;=5.4

Since Jul 3Pushed 1y ago2 watchersCompare

[ Source](https://github.com/iwillhappy1314/wordpress-dispatcher)[ Packagist](https://packagist.org/packages/wenprise/wordpress-dispatcher)[ RSS](/packages/wenprise-wordpress-dispatcher/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

WordPress Router / Dispatcher
=============================

[](#wordpress-router--dispatcher)

Easily add custom URL endpoints in WordPress. Map a url to a function.

\##Example

```
use \Wenprise\Dispatcher\Router;

Router::routes([

    'testing-a-url' => function(){
        echo 'Hello Ted';
    },

    'hello-([a-z]+)' => function($request, $name){
        echo "Hello $name";
    }
]);

```

/testing-a-url &amp; /hello-dougle will now be accessable in your WordPress site.

\##Install

\###Composer

composer require wenprise/wordpress-dispatcher

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~990 days

Total

4

Last Release

677d ago

Major Versions

1.0 → 2.12020-01-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1455683?v=4)[Amos Lee](/maintainers/iwillhappy1314)[@iwillhappy1314](https://github.com/iwillhappy1314)

---

Top Contributors

[![tim-field](https://avatars.githubusercontent.com/u/1326910?v=4)](https://github.com/tim-field "tim-field (28 commits)")[![iwillhappy1314](https://avatars.githubusercontent.com/u/1455683?v=4)](https://github.com/iwillhappy1314 "iwillhappy1314 (6 commits)")

### Embed Badge

![Health badge](/badges/wenprise-wordpress-dispatcher/health.svg)

```
[![Health](https://phpackages.com/badges/wenprise-wordpress-dispatcher/health.svg)](https://phpackages.com/packages/wenprise-wordpress-dispatcher)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)[emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

14273.9k](/packages/emartech-emarsys-magento2-extension)

PHPackages © 2026

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