Important
This repository is a read-only mirror of packages/compression in appwrite/appwrite. Development happens there — please open issues and pull requests against appwrite/appwrite.
Utopia Compression is simple and lite library for managing file compression. It supports multiple compression algorithms. This library is aiming to be as simple and easy to learn and use. This library is maintained by the Appwrite team.
This library is part of the Utopia Framework project.
Install using Composer:
composer require utopia-php/compressionUtopia Compression requires PHP 8.4 or later and the utopia extension (ext-utopia, built from
crates/extension in
appwrite/appwrite). Every class of Utopia\Compression comes from the extension, which links the
codecs itself, so no PECL extension is needed except xz for the XZ algorithm. This package holds
their signatures for static analysis and editors (stubs/) and the tests. 0.1.x is the last
release with the classes in PHP.
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php