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)0496MITPHPPHP &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 2mo 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 71% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity12

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

625d ago

Major Versions

1.0 → 2.12020-01-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0fa49958b7c45c0b373b185feb5debe5bdd35be3b3536bc44477d3bd3a2d435?d=identicon)[iwillhappy1314](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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