PHPackages                             borschphp/requesthandler - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. borschphp/requesthandler

ActiveLibrary[HTTP &amp; Networking](/categories/http)

borschphp/requesthandler
========================

A simple PSR-15 Request Handler.

2.2.0(8mo ago)01.2k2MITPHPPHP ^8.2CI passing

Since May 28Pushed 8mo agoCompare

[ Source](https://github.com/borschphp/borsch-requesthandler)[ Packagist](https://packagist.org/packages/borschphp/requesthandler)[ RSS](/packages/borschphp-requesthandler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (11)Used By (2)

Borsch - RequestHandler
=======================

[](#borsch---requesthandler)

A simple PSR-15 Request Handler implementation.

This package is part of the Borsch Framework.

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

[](#installation)

Via [composer](https://getcomposer.org/) :

`composer require borschphp/requesthandler`

Usage
-----

[](#usage)

```
require_once __DIR__.'/vendor/autoload.php';

use Borsch\RequestHandler\RequestHandler;

$request_handler = new RequestHandler();

$request_handler->middleware(new SomeMiddleware());
$request_handler->middlewares([
    new AnotherMiddleware(),
    new YetAnotherOneMiddleware(),
    // ...
]);

$response = $request_handler->handle(ServerRequestFactory::fromGlobals());
```

License
-------

[](#license)

The package is licensed under the MIT license. See [License File](https://github.com/borschphp/borsch-requesthandler/blob/master/LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance59

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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 ~240 days

Recently: every ~65 days

Total

9

Last Release

262d ago

Major Versions

0.2.1 → 1.0.02022-07-01

1.0.0 → v2.x-dev2024-12-11

2.0.0 → v3.x-dev2025-07-25

PHP version history (4 changes)0.1PHP ^7.2

0.2.1PHP ^7.2|^8.0

1.0.0PHP ^8.0

v2.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e1a70117520fe10a630d61c750bbe6888d174e9903825e741470f818ee2c5d1?d=identicon)[debuss-a](/maintainers/debuss-a)

---

Top Contributors

[![debuss](https://avatars.githubusercontent.com/u/2537607?v=4)](https://github.com/debuss "debuss (11 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/borschphp-requesthandler/health.svg)

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

###  Alternatives

[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6633.1M115](/packages/league-route)[relay/relay

A PSR-15 server request handler.

3302.1M86](/packages/relay-relay)[mindplay/middleman

PSR-7 middleware dispatcher. Let's stop trying to make this complicated.

92533.2k9](/packages/mindplay-middleman)[php-middleware/php-debug-bar

PHP Debug Bar PSR-15 middleware with PSR-7

76433.5k2](/packages/php-middleware-php-debug-bar)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[php-middleware/request-id

Request Id middleware with PSR-7

36286.6k2](/packages/php-middleware-request-id)

PHPackages © 2026

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