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

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

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

HttpKernelInterface lazy proxy.

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

Since Aug 14Pushed 7y ago4 watchersCompare

[ Source](https://github.com/stackphp/LazyHttpKernel)[ Packagist](https://packagist.org/packages/stack/lazy-http-kernel)[ RSS](/packages/stack-lazy-http-kernel/feed)WikiDiscussions master Synced 2w 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

34

—

LowBetter than 74% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community14

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

4638d 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.6k52.2M377](/packages/api-platform-core)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M424](/packages/easycorp-easyadmin-bundle)[laravel/framework

The Laravel Framework.

34.9k556.2M21.4k](/packages/laravel-framework)[symfony/framework-bundle

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

3.6k257.3M12.4k](/packages/symfony-framework-bundle)[symfony/security-bundle

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

2.5k190.0M2.6k](/packages/symfony-security-bundle)[illuminate/http

The Illuminate Http package.

11938.5M8.2k](/packages/illuminate-http)

PHPackages © 2026

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