alchemy/zippy
Zippy is a PHP library to read, create, list, and extract archives using CLI tools or PHP extensions. Supports ZIP plus GNU/BSD tar formats (.tar, .tar.gz, .tar.bz2) via a simple API for opening, iterating members, extracting, and creating archives.
File Management & Delivery Features:
.zip, .tar, or compressed formats.Roadmap Priorities:
zip -r or tar -czvf) in Laravel jobs/queues, reducing infrastructure complexity./download-archive) to let clients request custom-packaged files (e.g., "Download my project files as a ZIP").Build vs. Buy:
Use Cases:
tar -xzf) to PHP-managed workflows.Adopt Zippy if:
zip/tar binaries).zip) and CLI tools (e.g., gnutar) based on availability.Process component).Look Elsewhere if:
pclzip or phar-io/manifest for broader compression.zip), which may have limited format support.spatie/laravel-zip for updates)."Zippy lets us automate file packaging—critical for scaling features like user exports, media delivery, and backups—without relying on manual CLI tools. It’s a drop-in solution that reduces server load (e.g., compressing large files before sending them to users) and simplifies complex workflows (e.g., bundling order data with receipts). With zero licensing costs and deep Laravel/Symfony integration, it’s a low-risk, high-reward choice to cut dev time and improve performance."
Key Metrics to Track:
*"Zippy is a batteries-included archive manager for PHP that handles ZIP, TAR, and compressed formats via CLI tools or native extensions. It’s ideal for:
Zippy::create('backup.zip', ['folder' => '/path/to/data'])).Zippy::open('archive.tar')->extract('/tmp')).$archive members).Why it’s better than rolling our own:
zip extension if CLI tools are missing.Trade-offs:
Proposal:
zip -r/tar -czvf calls in Laravel jobs with Zippy./download-archive API using Zippy for user-triggered exports.Alternatives:
How can I help you explore Laravel packages today?