PHPackages                             stack/callable-http-kernel - 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. stack/callable-http-kernel

ActiveLibrary

stack/callable-http-kernel
==========================

HttpKernelInterface implementation based on callables.

v1.0.1(9y ago)2439.6k↓46.2%11[4 PRs](https://github.com/stackphp/CallableHttpKernel/pulls)14MITPHPPHP &gt;=5.3.0

Since Sep 1Pushed 7y ago6 watchersCompare

[ Source](https://github.com/stackphp/CallableHttpKernel)[ Packagist](https://packagist.org/packages/stack/callable-http-kernel)[ RSS](/packages/stack-callable-http-kernel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (14)

Stack/CallableHttpKernel
========================

[](#stackcallablehttpkernel)

HttpKernelInterface implementation based on callables.

It's mostly useful to test stack middlewares, and to mock the HttpKernelInterface on the fly.

Example
-------

[](#example)

```
use Stack\CallableHttpKernel;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

$app = new CallableHttpKernel(function (Request $request) {
    return new Response('Hello World!');
});

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~655 days

Total

2

Last Release

3621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3afcc18d00fff840775bbf9570b3e9cd3997ca4820b9bfb14caf6da3ae580370?d=identicon)[igorw](/maintainers/igorw)

---

Top Contributors

[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (10 commits)")[![simensen](https://avatars.githubusercontent.com/u/191200?v=4)](https://github.com/simensen "simensen (4 commits)")[![lancechentw](https://avatars.githubusercontent.com/u/1587305?v=4)](https://github.com/lancechentw "lancechentw (2 commits)")[![h4cc](https://avatars.githubusercontent.com/u/2981491?v=4)](https://github.com/h4cc "h4cc (1 commits)")

---

Tags

stack

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stack-callable-http-kernel/health.svg)

```
[![Health](https://phpackages.com/badges/stack-callable-http-kernel/health.svg)](https://phpackages.com/packages/stack-callable-http-kernel)
```

###  Alternatives

[asm89/stack-cors

Cross-origin resource sharing library and stack middleware

1.3k180.6M24](/packages/asm89-stack-cors)[alsar/stack-ip-restrict

Stack middleware for allowing application access for specific IP addresses

314.9k](/packages/alsar-stack-ip-restrict)[linio/tortilla

A highly opinionated microframework built with speed and simplicity in mind.

133.0k2](/packages/linio-tortilla)

PHPackages © 2026

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