Search by

se7enxweb / expcomponents-archive

7x

The component allows you to create, modify, and extract archive files of various formats. The currently supported archives formats are Tar (with the flavours: ustar, v7, pax, and gnu) and Zip.

Package info

github.com/se7enxweb/expcomponents-archive

pkg:composer/se7enxweb/expcomponents-archive

Statistics

Installs: 1 150

Dependents: 2

Suggesters: 0

Stars: 0

1.5.2 2026-11-03 11:35 UTC

This package is auto-updated.

Last update: 2026-11-03 11:53:24 UTC


README

Create, modify and extract archive files: Tar (ustar, v7, pax and GNU) and Zip.

This is a maintained fork of zetacomponents/Archive by 7x (se7en.x), kept for Exponential and anyone else who still uses the Zeta Components Archive component on current PHP versions. All credit for the component goes to the Zeta Components authors listed in composer.json and CREDITS; the upstream copyright and the Apache License 2.0 (LICENSE.txt) are unchanged.

What is different from upstream

  • Runs on PHP 7.4 to 8.5 without deprecation notices (see ChangeLog).
  • The package is se7enxweb/expcomponents-archive and replaces zetacomponents/archive, so a project that requires the upstream package gets this one in its place.
  • The class names (ezcArchive*) and the API are unchanged.

Installation

composer require se7enxweb/expcomponents-archive

Tests

composer update
vendor/bin/phpunit

The suite runs on every push for PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5, and any deprecation fails it. Some tests call the tar, gzip and bzip2 executables and compare archives byte for byte with the output of GNU tar 1.34; GNU tar 1.35 leaves the device number fields of regular files empty, so those tests fail with it.

Known limitations of the component are listed in README.