PHPackages                             songlipeng2003/php-x-sendfile - 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. songlipeng2003/php-x-sendfile

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

songlipeng2003/php-x-sendfile
=============================

php-x-sendfile

v2.1.0(3y ago)41643Apache-2.0PHPPHP &gt;=7.2.0

Since Mar 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/songlipeng2003/php-x-sendfile)[ Packagist](https://packagist.org/packages/songlipeng2003/php-x-sendfile)[ Docs](https://github.com/songlipeng2003/php-x-sendfile)[ RSS](/packages/songlipeng2003-php-x-sendfile/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (13)Used By (0)

php x-sendfile
--------------

[](#php-x-sendfile)

[![Latest Stable Version](https://camo.githubusercontent.com/dcfea01b2cf0d86951a3fe7c12fdea977ec92931a01fe2c17b2a094c3f0b41f8/68747470733a2f2f706f7365722e707567782e6f72672f736f6e676c6970656e67323030332f7068702d782d73656e6466696c652f762f737461626c65)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![Total Downloads](https://camo.githubusercontent.com/1c6fdf79d8c4ee4433ff255a5a92293b49da7793785ae6ac59b9548676e8695f/68747470733a2f2f706f7365722e707567782e6f72672f736f6e676c6970656e67323030332f7068702d782d73656e6466696c652f646f776e6c6f616473)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![License](https://camo.githubusercontent.com/edf2c7c46b4f2b7d142b324e90d5a0e1a3a81c50198bbe0712243c0121283aec/68747470733a2f2f706f7365722e707567782e6f72672f736f6e676c6970656e67323030332f7068702d782d73656e6466696c652f6c6963656e7365)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![PHP Composer](https://github.com/songlipeng2003/php-x-sendfile/actions/workflows/php.yml/badge.svg)](https://github.com/songlipeng2003/php-x-sendfile/actions/workflows/php.yml)

php send static files use web server, now support apache, nginx, Lighttpd

Change Log
----------

[](#change-log)

\[2.1.0\] - 2022-12-02

- Add Content-Range support, but not support Multipart ranges

require
-------

[](#require)

php &gt;= 7.3

if you use php &lt; 7.3, you can use 1.\* version

php ext fileinfo

### Test

[](#test)

use phpunit

require xdebug

### License

[](#license)

[Apache License Version 2.0](https://github.com/songlipeng2003/php-x-sendfile/blob/master/LICENSE.md)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.8% 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 ~319 days

Recently: every ~457 days

Total

11

Last Release

1254d ago

Major Versions

v0.4.0 → v1.0.02017-11-29

v1.1.0 → v2.0.02022-07-27

PHP version history (2 changes)v0.1.0PHP &gt;=5.3.0

v2.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c7171b6a92bcb7937089f581db34393a82d82d123300839882676f6a75c3af2?d=identicon)[songlipeng2003](/maintainers/songlipeng2003)

---

Top Contributors

[![songlipeng2003](https://avatars.githubusercontent.com/u/89021?v=4)](https://github.com/songlipeng2003 "songlipeng2003 (64 commits)")[![divinity76](https://avatars.githubusercontent.com/u/1874996?v=4)](https://github.com/divinity76 "divinity76 (4 commits)")[![mm-sam](https://avatars.githubusercontent.com/u/10527951?v=4)](https://github.com/mm-sam "mm-sam (1 commits)")

---

Tags

apachenginxphpsendfilenginxapachex-sendfilesendfile

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/songlipeng2003-php-x-sendfile/health.svg)

```
[![Health](https://phpackages.com/badges/songlipeng2003-php-x-sendfile/health.svg)](https://phpackages.com/packages/songlipeng2003-php-x-sendfile)
```

###  Alternatives

[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[kassner/log-parser

PHP Log Parser Library

342432.5k6](/packages/kassner-log-parser)[corley/maintenance-bundle

Corley Maintenance Bundle

22229.9k](/packages/corley-maintenance-bundle)[nystudio107/dotenvy

Speed up your production sites by ditching .env for key/value variable pairs as Apache, Nginx, and shell equivalents.

326.9k](/packages/nystudio107-dotenvy)[bnomei/kirby3-security-headers

Kirby Plugin for easier Security Headers setup

276.6k](/packages/bnomei-kirby3-security-headers)

PHPackages © 2026

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