PHPackages                             mehrdad-dadkhah/stream-to-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. [File &amp; Storage](/categories/file-storage)
4. /
5. mehrdad-dadkhah/stream-to-download

ActiveLibrary[File &amp; Storage](/categories/file-storage)

mehrdad-dadkhah/stream-to-download
==================================

send data chunk to client for download it

1.0.1(8y ago)31.3kGPLv3PHPPHP &gt;=5.5

Since Aug 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Mehrdad-Dadkhah/stream-to-download)[ Packagist](https://packagist.org/packages/mehrdad-dadkhah/stream-to-download)[ Docs](https://github.com/Mehrdad-Dadkhah/stream-to-download)[ RSS](/packages/mehrdad-dadkhah-stream-to-download/feed)WikiDiscussions master Synced 5d ago

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

StreamToDownload
================

[](#streamtodownload)

[![Software License](https://camo.githubusercontent.com/e1514dd3f2095dbf68a0008ae62a631142953ad2e86aa94c504343f2c2c191da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/06b969672ddad163897e735bd181ae50fc4c2a292479505c7135248d660fc322/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d6568726461642d4461646b6861682f73747265616d2d746f2d646f776e6c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mehrdad-dadkhah/stream-to-download)

Send data chunk to client for download it

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

[](#installation)

```
composer require mehrdad-dadkhah/stream-to-download

```

Usage
-----

[](#usage)

```
use MehrdadDadkhah\Video\StreamToDownload;

$streamToDownload = new StreamToDownload();
$streamToDownload->downloadFile('path-or-url-to-file.mp4', 'output-file-name.mp4');
```

License
-------

[](#license)

hls-video-generater is licensed under the [GPLv3 License](http://opensource.org/licenses/GPL).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

3238d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3860685?v=4)[Mehrdad-Dadkhah](/maintainers/Mehrdad-Dadkhah)[@Mehrdad-Dadkhah](https://github.com/Mehrdad-Dadkhah)

---

Top Contributors

[![Mehrdad-Dadkhah](https://avatars.githubusercontent.com/u/3860685?v=4)](https://github.com/Mehrdad-Dadkhah "Mehrdad-Dadkhah (4 commits)")

---

Tags

streamvideofiledownloaddownloaderlive\_stream\_videohuge\_file

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mehrdad-dadkhah-stream-to-download/health.svg)

```
[![Health](https://phpackages.com/badges/mehrdad-dadkhah-stream-to-download/health.svg)](https://phpackages.com/packages/mehrdad-dadkhah-stream-to-download)
```

###  Alternatives

[adlawson/vfs

Virtual file system

300440.8k22](/packages/adlawson-vfs)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

191192.5k17](/packages/fof-upload)[transloadit/php-sdk

Transloadit SDK

61419.4k2](/packages/transloadit-php-sdk)[jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

56114.7k](/packages/jmathai-s3-bucket-stream-zip-php)[digital-creative/nova-filepond

A Nova field for uploading File, Image and Video using filepond.

5570.9k1](/packages/digital-creative-nova-filepond)[selective/zip-responder

A ZIP file and a stream responder (PSR-7)

1021.5k](/packages/selective-zip-responder)

PHPackages © 2026

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