ramsey/http-range
Parse, validate, and work with HTTP Range headers in PHP. ramsey/http-range helps you interpret byte ranges, handle partial content requests, and generate correct range responses for downloads, media streaming, and resumable transfers.
$totalSize parameters and getTotalSize() methods are now typed as
float | int | string instead of mixedgetStart(), getEnd(), and getLength() methods on UnitRangeInterface
now return float | int | string instead of mixedramsey/http-range provides functionality for parsing HTTP range headers for a variety of range units. Out-of-the-box, ramsey/http-range supports bytes ranges as defined in RFC 7233 § 2.1, as well as basic support for generic range units. The library provides interfaces, abstract classes, and factories, allowing creation of other range units.
How can I help you explore Laravel packages today?