PHPackages                             filipsedivy/php-download-file - 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. filipsedivy/php-download-file

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

filipsedivy/php-download-file
=============================

PHP class for download files

v1.0(10y ago)43163MITPHPPHP &gt;=5.3

Since Oct 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/filipsedivy/PHP-DownloadFile)[ Packagist](https://packagist.org/packages/filipsedivy/php-download-file)[ RSS](/packages/filipsedivy-php-download-file/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Exensions for file downloads

What is needed
--------------

[](#what-is-needed)

Server when support PHP files

How to install
--------------

[](#how-to-install)

Copy DownloadFile.php to anywhere

How to use
----------

[](#how-to-use)

### Easy to use

[](#easy-to-use)

```
$downloadFile = new \FS\DownloadFile;
$downloadFile->download('data/file.exe');
```

### Advanced settings

[](#advanced-settings)

```
$filePath = 'data/file.exe';
$fileName = 'install.exe';
$contentType = 'application/octet-stream';
$downloadFile = new \FS\DownloadFile;
$downloadFile->speed(10); // 10 kb/s
$downloadFile->download($filePath, $fileName, $contentType);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3844d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5647591?v=4)[Filip Šedivý](/maintainers/filipsedivy)[@filipsedivy](https://github.com/filipsedivy)

---

Top Contributors

[![filipsedivy](https://avatars.githubusercontent.com/u/5647591?v=4)](https://github.com/filipsedivy "filipsedivy (14 commits)")

---

Tags

classdownloaddownload files

### Embed Badge

![Health badge](/badges/filipsedivy-php-download-file/health.svg)

```
[![Health](https://phpackages.com/badges/filipsedivy-php-download-file/health.svg)](https://phpackages.com/packages/filipsedivy-php-download-file)
```

###  Alternatives

[jmathai/s3-bucket-stream-zip-php

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

56114.4k](/packages/jmathai-s3-bucket-stream-zip-php)

PHPackages © 2026

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