lake/larke-pclzip
Laravel wrapper for the PclZip library, enabling PHP applications to create, extract, and inspect ZIP archives without requiring the ZipArchive extension. Provides a simple API for handling zip files within Laravel projects.
ext-zip: The main product rationale is a pure-PHP ZIP implementation when ZipArchive is unavailable and cannot be enabled. This is a tactical compatibility decision, not a strategic platform bet.ext-zip/ZipArchive plus a maintained filesystem abstraction such as Flysystem.ext-zip is unavailable and cannot be installed.Look elsewhere when:
ext-zip/ZipArchive is available; it is generally faster, better maintained, and simpler to operate.Executive summary: lake/larke-pclzip is a narrow pure-PHP ZIP utility that may help in constrained hosting environments where PHP’s native ZIP extension is unavailable. It is not a strategic dependency: adoption is effectively zero, the license requires review for distributed products, and archive handling has security and performance implications. Recommendation: do not standardize on it. Consider only a time-boxed pilot behind an internal archive adapter if a real compatibility gap exists, with legal and security sign-off. Default to native ZIP support or a maintained archive library for roadmap-critical work.
Engineering summary: Treat this as a tactical fallback, not a framework component. Wrap it behind an application-owned interface, add strict validation for archive bombs, path traversal, file counts, sizes, and timeouts, and test PHP-version and Unicode compatibility. If adopted, budget for maintenance and an exit path to ZipArchive or a maintained library.
How can I help you explore Laravel packages today?