wyrihaximus/compress-contracts
PHP interfaces for compression. Defines small CompressorInterface and DecompressorInterface contracts so you can swap gzip, zlib, or custom implementations without coupling code to a specific library. Great for ReactPHP and other async projects needing clean, testable compression abstractions.
wyrihaximus/compress-contracts provides a small set of PHP interfaces that define a common API for compression implementations. It lets libraries and applications depend on an abstraction rather than a concrete compressor, so interchangeable backends (e.g. gzip, zlib, or custom implementations) can be swapped without changing consuming code.
How can I help you explore Laravel packages today?