PHPackages                             divinity76/php-httpreadfile - 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. divinity76/php-httpreadfile

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

divinity76/php-httpreadfile
===========================

readfile() with 304 Not Modified and 206 Partial Content support

v1.0.0(3y ago)13UnlicensePHPPHP &gt;=7.1

Since Oct 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/divinity76/php-httpreadfile)[ Packagist](https://packagist.org/packages/divinity76/php-httpreadfile)[ Docs](https://github.com/divinity76/php-httpreadfile)[ RSS](/packages/divinity76-php-httpreadfile/feed)WikiDiscussions main Synced 1mo ago

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

php-httpreadfile
================

[](#php-httpreadfile)

php readfile() with 304 Not Modified and 206 Partial Content support

installation
============

[](#installation)

the script is a standalone .php file, you can copypaste it, or composer:

```
composer require 'divinity76/php-httpreadfile'
```

Usage
=====

[](#usage)

```
