PHPackages                             laminas/laminas-httphandlerrunner - 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. laminas/laminas-httphandlerrunner

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

laminas/laminas-httphandlerrunner
=================================

Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.

2.13.0(8mo ago)7219.7M↓20.7%19[2 issues](https://github.com/laminas/laminas-httphandlerrunner/issues)[4 PRs](https://github.com/laminas/laminas-httphandlerrunner/pulls)20BSD-3-ClausePHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 31Pushed 6d ago15 watchersCompare

[ Source](https://github.com/laminas/laminas-httphandlerrunner)[ Packagist](https://packagist.org/packages/laminas/laminas-httphandlerrunner)[ Docs](https://laminas.dev)[ Fund](https://funding.communitybridge.org/projects/laminas-project)[ RSS](/packages/laminas-laminas-httphandlerrunner/feed)WikiDiscussions 2.14.x Synced 3d ago

READMEChangelog (10)Dependencies (8)Versions (46)Used By (20)

laminas-httphandlerrunner
=========================

[](#laminas-httphandlerrunner)

[![Build Status](https://github.com/laminas/laminas-httphandlerrunner/workflows/Continuous%20Integration/badge.svg)](https://github.com/laminas/laminas-httphandlerrunner/actions?query=workflow%3A%22Continuous+Integration%22)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
> ## 🇺🇸 To Citizens of Russia
>
> [](#-to-citizens-of-russia)
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"

This library provides utilities for:

- Emitting [PSR-7](https://www.php-fig.org/psr/psr-7) responses.
- Running [PSR-15](https://www.php-fig.org/psr/psr-15) server request handlers, which involves marshaling a PSR-7 `ServerRequestInterface`, handling exceptions due to request creation, and emitting the response returned by the composed request handler.

The `RequestHandlerRunner` will be used in the bootstrap of your application to fire off the `RequestHandlerInterface` representing your application.

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

[](#installation)

Run the following to install this library:

```
$ composer require laminas/laminas-httphandlerrunner
```

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

[](#documentation)

Documentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](https://www.mkdocs.org):

```
$ mkdocs build
```

You may also [browse the documentation online](https://docs.laminas.dev/laminas-httphandlerrunner/).

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance80

Actively maintained with recent releases

Popularity62

Solid adoption and visibility

Community46

Growing community involvement

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.1% 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 ~56 days

Recently: every ~103 days

Total

43

Last Release

6d ago

Major Versions

1.4.x-dev → 2.0.02021-07-12

1.5.x-dev → 2.1.x-dev2021-09-22

PHP version history (9 changes)1.0.0PHP ^7.1

1.3.0PHP ^7.3 || ~8.0.0

1.5.0PHP ^7.3 || ~8.0.0 || ~8.1.0

2.2.x-devPHP ^7.4 || ~8.0.0 || ~8.1.0

2.3.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.6.0PHP ~8.1.0 || ~8.2.0

2.8.x-devPHP ~8.1.0 || ~8.2.0 || ~8.3.0

2.11.x-devPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

2.13.x-devPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25943?v=4)[Matthew Weier O'Phinney](/maintainers/weierophinney)[@weierophinney](https://github.com/weierophinney)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (189 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (51 commits)")[![gsteel](https://avatars.githubusercontent.com/u/2803720?v=4)](https://github.com/gsteel "gsteel (33 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (27 commits)")[![boesing](https://avatars.githubusercontent.com/u/2189546?v=4)](https://github.com/boesing "boesing (20 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (20 commits)")[![TimWolla](https://avatars.githubusercontent.com/u/209270?v=4)](https://github.com/TimWolla "TimWolla (6 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (5 commits)")[![laminas-bot](https://avatars.githubusercontent.com/u/68250880?v=4)](https://github.com/laminas-bot "laminas-bot (5 commits)")[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (4 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (4 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (4 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (3 commits)")[![MauricioFauth](https://avatars.githubusercontent.com/u/120970?v=4)](https://github.com/MauricioFauth "MauricioFauth (2 commits)")[![pine3ree](https://avatars.githubusercontent.com/u/3229979?v=4)](https://github.com/pine3ree "pine3ree (1 commits)")[![mariusbuescher](https://avatars.githubusercontent.com/u/4403491?v=4)](https://github.com/mariusbuescher "mariusbuescher (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![dcabanaw](https://avatars.githubusercontent.com/u/1923440?v=4)](https://github.com/dcabanaw "dcabanaw (1 commits)")

---

Tags

hacktoberfesthttppsr-15psr-7request-handlerpsr-7laminascomponentspsr-15mezzio

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laminas-laminas-httphandlerrunner/health.svg)

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[mezzio/mezzio-swoole

Swoole support for Mezzio

92252.0k3](/packages/mezzio-mezzio-swoole)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M126](/packages/mezzio-mezzio)[sunrise/http-router

A powerful solution as the foundation of your project.

17451.6k10](/packages/sunrise-http-router)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

587.2M102](/packages/laminas-laminas-stratigility)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

131.7M39](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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