PHPackages                             imponeer/archive-download-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. imponeer/archive-download-builder

ActiveLibrary

imponeer/archive-download-builder
=================================

A PHP library for building and downloading archive files (ZIP and TAR.GZ) with optional Flysystem support for various file sources

v1.0.3(1mo ago)031MITPHPPHP ^8.3CI passing

Since Aug 3Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/imponeer/archive-download-builder)[ Packagist](https://packagist.org/packages/imponeer/archive-download-builder)[ RSS](/packages/imponeer-archive-download-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (18)Versions (5)Used By (0)

Archive Download Builder
========================

[](#archive-download-builder)

[![PHP Version](https://camo.githubusercontent.com/ef0054230522e542bc1f908ac005c6c75888dea255bac910f9015e12095e31d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e332d626c7565)](https://php.net)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE.md)[![Latest Release](https://camo.githubusercontent.com/5df6606622df603124986e4d5577a1f13cb5b349e5caa0a312b8f07ed09a6424/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f696d706f6e6565722f617263686976652d646f776e6c6f61642d6275696c646572)](https://github.com/imponeer/archive-download-builder/releases)[![Downloads](https://camo.githubusercontent.com/e0f7afc88ad9b7d241d935d2dd22cc14b78a33221df9e9de411a450f665bab36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d706f6e6565722f617263686976652d646f776e6c6f61642d6275696c646572)](https://packagist.org/packages/imponeer/archive-download-builder)

A PHP library for building and downloading archive files (ZIP and TAR.GZ) with support for various file sources through the [Flysystem](https://flysystem.thephpleague.com/) abstraction layer.

This library is a modern rewrite of the [XOOPS](https://xoops.org/) downloader classes ([Downloader](https://github.com/XOOPS/XoopsCore25/blob/master/htdocs/class/downloader.php), [ZipDownloader](https://github.com/XOOPS/XoopsCore25/blob/master/htdocs/class/zipdownloader.php), [TarDownloader](https://github.com/XOOPS/XoopsCore25/blob/master/htdocs/class/tardownloader.php)) with MIT license compatibility and modern PHP coding standards.

Installation
------------

[](#installation)

Install via Composer:

```
composer require imponeer/archive-download-builder
```

Examples
--------

[](#examples)

### Simple ZIP Archive (using default filesystem)

[](#simple-zip-archive-using-default-filesystem)

```
