PHPackages                             api-clients/middleware-delay - 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. api-clients/middleware-delay

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

api-clients/middleware-delay
============================

Request pool middleware

3.0.0(8y ago)120.5k[2 PRs](https://github.com/php-api-clients/middleware-delay/pulls)2MITPHPPHP ^7.0

Since Feb 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/php-api-clients/middleware-delay)[ Packagist](https://packagist.org/packages/api-clients/middleware-delay)[ RSS](/packages/api-clients-middleware-delay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (6)Used By (2)

API Client Request Delay middleware for PHP 7.x
===============================================

[](#api-client-request-delay-middleware-for-php-7x)

[![Build Status](https://camo.githubusercontent.com/5be7221f006c37a0ba36df0891232bc8cd839d12e2c6c0034b3765df2ea4ed28/68747470733a2f2f7472617669732d63692e6f72672f7068702d6170692d636c69656e74732f6d6964646c65776172652d64656c61792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-api-clients/middleware-delay)[![Latest Stable Version](https://camo.githubusercontent.com/c92c5b9fffebfae307db12df0605cec785bf440afc46bcee8c3092f653ab856c/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d64656c61792f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/middleware-delay)[![Total Downloads](https://camo.githubusercontent.com/afd036a06762b4ceb816c91b902e9856d5c1d1bae426f7a81cccf862a2bd0ccd/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d64656c61792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/middleware-delay/stats)[![Code Coverage](https://camo.githubusercontent.com/cabf50922f8064d7ff464457102818fcda0f6f286e1cf596925db65f075f6062/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f6d6964646c65776172652d64656c61792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-api-clients/middleware-delay/?branch=master)[![License](https://camo.githubusercontent.com/d3e1c48e2ee6b48c1d4059cd4c9a74a097c9b0b8628b444e4de2923c362e57f0/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d64656c61792f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/middleware-delay)[![PHP 7 ready](https://camo.githubusercontent.com/a489223109f1fa5a1e6014f4fec42de36f56ee127f0be37d1e1974d054096d02/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7068702d6170692d636c69656e74732f6d6964646c65776172652d64656c61792f62616467652e737667)](https://appveyor-ci.org/php-api-clients/middleware-delay)

Installation
============

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require api-clients/middleware-delay

```

Usage
=====

[](#usage)

[See the transport package how to use this middleware.](https://github.com/php-api-clients/transport#middleware)

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 52.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 ~70 days

Total

3

Last Release

3233d ago

Major Versions

1.0.0 → 2.0.02017-03-04

2.0.0 → 3.0.02017-07-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (25 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")

---

Tags

async-phphacktoberfestmiddlewarephpphp7reactphp

### Embed Badge

![Health badge](/badges/api-clients-middleware-delay/health.svg)

```
[![Health](https://phpackages.com/badges/api-clients-middleware-delay/health.svg)](https://phpackages.com/packages/api-clients-middleware-delay)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M317](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M383](/packages/php-http-curl-client)

PHPackages © 2026

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