PHPackages                             gowork/throttler - 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. gowork/throttler

ActiveLibrary

gowork/throttler
================

Simple PHP execution throttler.

0.2(5y ago)711.8k↓38.5%2[1 PRs](https://github.com/gowork/throttler/pulls)MITPHPPHP ^7.4 || ^8.0

Since Dec 17Pushed 5y ago2 watchersCompare

[ Source](https://github.com/gowork/throttler)[ Packagist](https://packagist.org/packages/gowork/throttler)[ RSS](/packages/gowork-throttler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Throttler
=========

[](#throttler)

[![Build Status](https://camo.githubusercontent.com/01c7af3303bf4273abbc2c038e1d373050870389e04914d93b9cb240a6ba4f86/68747470733a2f2f7472617669732d63692e6f72672f676f776f726b2f7468726f74746c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gowork/throttler)

Use the throttle to control the speed.

```
use GW\Throttler\Throttler;

$throttler = new Throttler(1.0);

foreach ($heavyTasks->all() as $task) {
    $throttler->throttle(); // wait a second... before next task
    $task->run();
}
```

Alternative usage for wrapping iterables:

```
use GW\Throttler\Throttler;

$throttledTask = Throttler::iterable($heavyTasks->all(), 1.0);

foreach ($throttledTask as $task) {
    $task->run(); // for each iteration it will sleep one second
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~353 days

Total

2

Last Release

1991d ago

PHP version history (2 changes)0.1PHP ^7.3

0.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/89312a3f1019de6ee55c9170b96980ecba62786feb01b710d3d3c52f9de53e84?d=identicon)[gowork](/maintainers/gowork)

---

Top Contributors

[![bronek89](https://avatars.githubusercontent.com/u/3485209?v=4)](https://github.com/bronek89 "bronek89 (12 commits)")[![dazet](https://avatars.githubusercontent.com/u/9936733?v=4)](https://github.com/dazet "dazet (2 commits)")[![dlakomski](https://avatars.githubusercontent.com/u/180052?v=4)](https://github.com/dlakomski "dlakomski (2 commits)")

---

Tags

phpthrottlethrottlerthrottlingthrottlethrottlingexecution throttling

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gowork-throttler/health.svg)

```
[![Health](https://phpackages.com/badges/gowork-throttler/health.svg)](https://phpackages.com/packages/gowork-throttler)
```

###  Alternatives

[graham-campbell/throttle

Throttle Is A Rate Limiter For Laravel

7102.3M11](/packages/graham-campbell-throttle)[davedevelopment/stiphle

Simple rate limiting/throttling for php

2567.7M9](/packages/davedevelopment-stiphle)[bandwidth-throttle/token-bucket

Implementation of the Token Bucket algorithm.

5121.9M10](/packages/bandwidth-throttle-token-bucket)[sunspikes/php-ratelimiter

A framework agnostic rate limiter for PHP

76674.1k1](/packages/sunspikes-php-ratelimiter)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)[maba/gentle-force-bundle

Symfony bundle that integrates gentle-force library for limiting both brute-force attempts and ordinary requests, using leaky/token bucket algorithm, based on Redis

53517.6k1](/packages/maba-gentle-force-bundle)

PHPackages © 2026

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