Download the PHP package xp-forge/compression without Composer
On this page you can find all versions of the php package xp-forge/compression. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xp-forge/compression
More information about xp-forge/compression
Files in xp-forge/compression
Download xp-forge/compression
More information about xp-forge/compression
Files in xp-forge/compression
Vendor xp-forge
Package compression
Short Description Compression I/O for the XP Framework
License BSD-3-Clause
Homepage http://xp-framework.net/
Package compression
Short Description Compression I/O for the XP Framework
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package compression
Compression streams
Compressing output and decompressing input streams including GZip, BZip2 and Brotli.
Examples
Reading a GZIP-compressed file:
Writing a file, compressing the data on-the-fly with BZIP2:
Dependencies
Compression algorithms are implemented in C and thus require a specific PHP extension:
- GZip - requires PHP's "zlib" extension
- Bzip2 - requires PHP's "bzip2" extension
- Brotli - requires https://github.com/kjdev/php-ext-brotli
Accessing these algorithms can be done via the Compression
API:
Discovering supported algorithms can be done using the Compression
API:
...or as a one-line shell command:
Advanced example
Fetching a given URL using HTTP Accept-Encoding and Content-Encoding:
All versions of compression with dependencies
PHP Build Version
Package Version
The package xp-forge/compression contains the following files
Loading the files please wait ....