| Re: imponeer/archive-download-builder — Modern Replacement for XOOPS Downloader Classes |
| by Mamba on 2025/8/4 20:22:39 Nice job! Thanks for sharing! Unfortunately, we won't be able to use for the time being, as XOOPS 2.5.12 should be working with PHP 7.4 |
| imponeer/archive-download-builder — Modern Replacement for XOOPS Downloader Classes |
| by MekDrop on 2025/8/4 10:33:26 A while back, I extracted some of the old XOOPS downloader-related classes into a standalone package. At the time, I wasn't exactly sure what their original use case was. Recently, I revisited the code and finally figured it out - they were used for building and serving downloadable archive files. That led me to create a modern, fully rewritten Composer package based on that idea. What is it? imponeer/archive-download-builder is a PHP library for creating and downloading archive files (ZIP and TAR.GZ), with support for multiple file sources via the Flysystem abstraction layer. It’s a modern replacement for the old XOOPS downloader classes: - downloader.php - zipdownloader.php - tardownloader.php Key improvements: - ✅ Rewritten with modern PHP (requires PHP 8.3+) - ✅ MIT licensed - ✅ Composer-compatible - ✅ Cleaner, modular structure - ✅ Uses Flysystem for flexible file source handling I hope this can be useful for you too. |