PHPackages                             chubbyphp/chubbyphp-lazy-middleware - 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. chubbyphp/chubbyphp-lazy-middleware

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

chubbyphp/chubbyphp-lazy-middleware
===================================

Chubbyphp Lazy Middleware

1.1.0(8y ago)08.3k1MITPHP ~7.0

Since Dec 13Compare

[ Source](https://github.com/chubbyphp-legacy/chubbyphp-lazy-middleware)[ Packagist](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)[ RSS](/packages/chubbyphp-chubbyphp-lazy-middleware/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (4)Versions (7)Used By (1)

chubbyphp-lazy-middleware
=========================

[](#chubbyphp-lazy-middleware)

[![Build Status](https://camo.githubusercontent.com/d44447babf3b3d576ce4ac4a2341cfccfdc8fab2326351fd4c618cc04629805d/68747470733a2f2f6170692e7472617669732d63692e6f72672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/chubbyphp/chubbyphp-lazy-middleware)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f44435d29eefcfd13f0f8cbb6a4dcdd2ed76d48204845192e4f41a28bedb399c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/d6e58c98514ac5f53302a6c7547ad1f4ec5f4eecbe552171a17aa96df292b379/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/daf2bc936b26db7836f13fee240c482040c792f3d32c956eab621e94b4c80310/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)[![Monthly Downloads](https://camo.githubusercontent.com/e22806edda36a0d7fd5481c7ed454e887db7582dd68b327477169d648b0fe7e4/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f642f6d6f6e74686c79)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)[![Latest Stable Version](https://camo.githubusercontent.com/d1f8f6ff40765fdb2d2ae21663f5ebb79d969f489a8f7d4f35b9d70e0d0a61dd/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)[![Latest Unstable Version](https://camo.githubusercontent.com/979bee2b5885722b7cd7b71e496a7e9f70584df84d50c44d576818fe7dc64f52/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6c617a792d6d6964646c65776172652f762f756e737461626c65)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)

Description
-----------

[](#description)

**DEPRECATED**: Middlewares in Slim3 are already lazy...

**IMPORTANT**: If you're interested in a lazy adapter for psr-15 middleware, i suggest to use [chubbyphp/chubbyphp-slim-psr15](https://github.com/chubbyphp/chubbyphp-slim-psr15#lazy-middleware-adapter). Same applies if your searching for a psr-15 request handler.

Allow to lazyload middlewares.

Requirements
------------

[](#requirements)

- php: ~7.0
- psr/container: ~1.0
- psr/http-message: ~1.0

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

[](#installation)

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-lazy-middleware](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware).

```
composer require chubbyphp/chubbyphp-lazy-middleware "~1.1"
```

Usage
-----

[](#usage)

```
