PHPackages                             dpsoft/psr7partial-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. [HTTP &amp; Networking](/categories/http)
4. /
5. dpsoft/psr7partial-download

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

dpsoft/psr7partial-download
===========================

Partial file download based on PSR-7

v1.1(8y ago)145PHP

Since Mar 12Pushed 7y ago2 watchersCompare

[ Source](https://github.com/dpsoft-official/psr7PartialDownload)[ Packagist](https://packagist.org/packages/dpsoft/psr7partial-download)[ RSS](/packages/dpsoft-psr7partial-download/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

PSR-7 Partial download
======================

[](#psr-7-partial-download)

[![License: GPL v2](https://camo.githubusercontent.com/77e900ae34f8da9ccccc42662fce61a94ab07ddbfe3f7d066178e824f3673dbd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322d626c75652e737667)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)

PSR-7 Partial file download package based on [HTTP 206 Partial Content In Node.js](https://www.codeproject.com/Articles/813480/HTTP-Partial-Content-In-Node-js)

### Install

[](#install)

Install latest version using [composer](https://getcomposer.org/).

```
$ composer require dpsoft/psr7partial-download
```

### Usage

[](#usage)

```
/** @var Psr\Http\Message\ServerRequestInterface */
$request = ;
/** @var Psr\Http\Message\ResponseInterface */
$response = ;
 $serve = new Dpsoft\psr7PartialDownload\Serve($request,$response);

 /** @var Psr\Http\Message\ResponseInterface */
 $response = $serve->download($filePath,$fileName);
```

### Test

[](#test)

with 93% code coverage!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

2984d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8ce9db5e47c9f42b80ea1102230d26603ed743596b579011934e7b67b37811d?d=identicon)[dpsoft-ir](/maintainers/dpsoft-ir)

---

Top Contributors

[![SadeghPM](https://avatars.githubusercontent.com/u/9298600?v=4)](https://github.com/SadeghPM "SadeghPM (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dpsoft-psr7partial-download/health.svg)

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

###  Alternatives

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1829.2k2](/packages/huaweicloud-huaweicloud-sdk-php)

PHPackages © 2026

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