PHPackages                             phauthentic/dispatcher-middleware - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. phauthentic/dispatcher-middleware

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

phauthentic/dispatcher-middleware
=================================

1.0.0-rc1(6y ago)25MITPHPPHP ^7.2

Since Apr 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Phauthentic/dispatcher-middleware)[ Packagist](https://packagist.org/packages/phauthentic/dispatcher-middleware)[ RSS](/packages/phauthentic-dispatcher-middleware/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Dispatcher Middleware
=====================

[](#dispatcher-middleware)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Scrutinizer Coverage](https://camo.githubusercontent.com/2c2ad1fd8603632b9e9d6d0fc898eb85a8d462f4a5b33c3c14a6f0deacfcca9a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f506861757468656e7469632f646973706174636865722d6d6964646c65776172652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/dispatcher-middleware/)[![Code Quality](https://camo.githubusercontent.com/b7c73fff3caddc204eb46e086bd20e1803ee0a8cb10ea1be8c880c0071013664/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f506861757468656e7469632f646973706174636865722d6d6964646c65776172652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/dispatcher-middleware/)

The middleware takes an extractor and a dispatcher object. The extractor extracts whatever information is needed from the server request object and returns the handler. The actual dispatcher will then execute the handler.

This is a very clean separation of concerns and should provide you a maximum of flexibility to change your dispatching processes as you need it. For details check the documentation.

The only requirement is that your request object somehow contains the information that is needed to figure out what handler should take the request. This can can be done by passing the result of the routing as a request attribute for example.

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

[](#requirements)

The library has no other dependencies than the PSR HTTP and container interfaces. The only requirement to use this library is that you are using a PSR compatible middleware queue.

Documentation
-------------

[](#documentation)

Please see the [docs](/docs/index.md) folder in this repository for the documentation.

License
-------

[](#license)

Copyright 2020 Florian Krämer

Licensed under the [MIT license](license.txt).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

Unknown

Total

1

Last Release

2261d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (10 commits)")

---

Tags

dispatcherframework-agnosticframework-lessmiddlewarephp-libraryphp7psrpsr-15psr-17psr-7request-handling

### Embed Badge

![Health badge](/badges/phauthentic-dispatcher-middleware/health.svg)

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.5k1.5M85](/packages/mcp-sdk)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5733.3M47](/packages/thecodingmachine-graphqlite)

PHPackages © 2026

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