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

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

stack/lazy-http-kernel
======================

HttpKernelInterface lazy proxy.

v1.0.0(12y ago)3128.3k[1 PRs](https://github.com/stackphp/LazyHttpKernel/pulls)MITPHP &gt;=5.4.0

Since Aug 14Compare

[ Source](https://github.com/stackphp/LazyHttpKernel)[ Packagist](https://packagist.org/packages/stack/lazy-http-kernel)[ RSS](/packages/stack-lazy-http-kernel/feed)WikiDiscussions Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Stack/LazyHttpKernel
====================

[](#stacklazyhttpkernel)

HttpKernelInterface lazy proxy.

This is useful in combination with something like UrlMap, where sub-kernels are only created conditionally.

Example
-------

[](#example)

The basic example, assumes that `app.php` returns an instance of `HttpKernelInterface`:

```
use Stack\LazyHttpKernel;

$app = new LazyHttpKernel(function () {
    return require __DIR__.'/../app.php';
});
```

As a shortcut, you can use the `Stack\lazy` function:

```
use Stack;

$app = Stack\lazy(function () {
    return require __DIR__.'/../app.php';
});
```

When combined with the UrlMap middleware it makes a bit more sense:

```
use Stack;
use Stack\UrlMap;

$app = ...;

$app = new UrlMap($app, [
    '/foo' => Stack\lazy(function () {
        return require __DIR__.'/../app.php';
    })
]);
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

4593d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88061?v=4)[Igor](/maintainers/igorw)[@igorw](https://github.com/igorw)

---

Top Contributors

[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (5 commits)")[![simensen](https://avatars.githubusercontent.com/u/191200?v=4)](https://github.com/simensen "simensen (1 commits)")

---

Tags

stack

### Embed Badge

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

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

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M333](/packages/api-platform-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[laravel/framework

The Laravel Framework.

34.8k543.8M19.8k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.4k](/packages/symfony-framework-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.3k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k177.2M375](/packages/symfony-security-http)

PHPackages © 2026

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