PHPackages                             photon/worker-download - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. photon/worker-download

ActiveLibrary[Queues &amp; Workers](/categories/queues)

photon/worker-download
======================

A worker to send large content without filling the RAM.

v1.1.7(7y ago)21.2kLGPL-2.1PHP

Since Apr 1Pushed 7y ago3 watchersCompare

[ Source](https://github.com/photon/worker-download)[ Packagist](https://packagist.org/packages/photon/worker-download)[ Docs](http://www.photon-project.com/)[ RSS](/packages/photon-worker-download/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

worker-download
===============

[](#worker-download)

[![Build Status](https://camo.githubusercontent.com/5f9db022133467da5ca50c37e8b3b8215956ddef57451769599fe8eec912d13f/68747470733a2f2f7472617669732d63692e6f72672f70686f746f6e2f776f726b65722d646f776e6c6f61642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/photon/worker-download)

A worker to stream just-in-time a HTTP Response from a iterator

Quick start
-----------

[](#quick-start)

1. Add the module in your project

    composer require "photon/worker-download"
2. Add the worker in the configuration

    'installed\_tasks' =&gt; array( 'PhotonDownload' =&gt; '\\photon\\task\\PhotonDownload', ), 'photon\_task\_PhotonDownload' =&gt; array( 'sub\_addr' =&gt; 'tcp://127.0.0.1:11011', ),
3. Start the worker

    hnu worker PhotonDownload
4. Send work to the worker in a view

    public function m2stream($request, $match) { $ans = new \\photon\\http\\Response(new MyStream); $ans-&gt;headers\['Content-Length'\] = 247463936;

    ```
     \photon\task\PhotonDownload::createDownload($request, $ans);
     return false;

    ```

    }

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~159 days

Recently: every ~210 days

Total

9

Last Release

2793d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32f98ddde8bc7b4f6fadce6a4030a77dc6dfd8e08d8e5b122ab4cc70232f6341?d=identicon)[delkia](/maintainers/delkia)

---

Top Contributors

[![wysman](https://avatars.githubusercontent.com/u/1042272?v=4)](https://github.com/wysman "wysman (18 commits)")

---

Tags

downloadworkerphoton

### Embed Badge

![Health badge](/badges/photon-worker-download/health.svg)

```
[![Health](https://phpackages.com/badges/photon-worker-download/health.svg)](https://phpackages.com/packages/photon-worker-download)
```

###  Alternatives

[swarrot/swarrot

A simple lib to consume RabbitMQ queues

3654.4M8](/packages/swarrot-swarrot)[dusterio/laravel-aws-worker

Run Laravel (or Lumen) tasks and queue listeners inside of AWS Elastic Beanstalk workers

3105.7M](/packages/dusterio-laravel-aws-worker)[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)[qxsch/worker-pool

Runs tasks in a parallel processing workerpool.

108325.7k1](/packages/qxsch-worker-pool)[iron-io/iron_worker

Client library for IronWorker (multi-language worker platform that runs tasks in the background, in parallel, and at scale.)

57208.5k1](/packages/iron-io-iron-worker)[yidas/codeigniter-queue-worker

CodeIgniter 3 Queue Worker Management Controller

9665.2k2](/packages/yidas-codeigniter-queue-worker)

PHPackages © 2026

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