2017 © Pedro Peláez
 

library psr7partial-download

Partial file download based on PSR-7

image

dpsoft/psr7partial-download

Partial file download based on PSR-7

  • Saturday, June 23, 2018
  • by dpsoft-ir
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 64 % Grown

The README.md

PSR-7 Partial download

License: GPL v2, (*1)

PSR-7 Partial file download package based on HTTP 206 Partial Content In Node.js, (*2)

Install

Install latest version using composer., (*3)

``` bash $ composer require dpsoft/psr7partial-download, (*4)

### Usage
```php
/** @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

with 93% code coverage!, (*5)

The Versions

23/06 2018

dev-master

9999999-dev

Partial file download based on PSR-7

  Sources   Download

The Requires

 

The Development Requires

by DaneshPajouhan

12/03 2018

v1.1

1.1.0.0

Partial file download based on PSR-7

  Sources   Download

The Requires

 

The Development Requires

by DaneshPajouhan