Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Compress Contracts

Compress Contracts Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Framework-agnostic contracts with no heavy dependencies
  • Consistent API for compressing and uncompressing data
  • Decoupled design supporting multiple implementations
  • PSR-friendly, easy to install via Composer and drop into existing projects
  • Minimal surface area for simple type-hinting and testing
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin