PHPackages                             zetacomponents/archive - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. zetacomponents/archive

ActiveLibrary[File &amp; Storage](/categories/file-storage)

zetacomponents/archive
======================

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.

1.5.1(3y ago)9486.6k↓20.6%12[1 issues](https://github.com/zetacomponents/Archive/issues)13Apache-2.0PHP

Since May 29Pushed 3y ago2 watchersCompare

[ Source](https://github.com/zetacomponents/Archive)[ Packagist](https://packagist.org/packages/zetacomponents/archive)[ Docs](https://github.com/zetacomponents)[ RSS](/packages/zetacomponents-archive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (21)Used By (13)

```
LIMITATIONS
===========

Archive:
- Wrong mtime, chown, chgrp for symlinks extracted from the archive.
  --> lchown, lchgrp are not (yet) implemented in PHP.
  --> Touch resolves the symlink.

Tar:
- Pax: Writing to archive is not implemented.
- Gnu: Writing to archive is not implemented.

Zip:
- Text or binary-file bit is not set in the (created) archive.
- Extracting of a file is done all in memory.
  --> Extracting a deflated file without a header is recently fixed in PHP.
      (Use string filter)
- Check the bitflag, because it is now always 0.
- We use the same version as InfoZip (10).
- Files are always compressed with the deflate algorithm.
  --> Need to find out the best algorithm. E.g. no compression on small files
      or files that are already compressed.
- Zip64 is not implemented.

File:
- Common functions from character and blockfile must be moved to ArchiveFile.

Tests:
- Some tests use executables: tar, gzip, bzip2 and will probably not work on
  other machines or platforms.
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 72.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~321 days

Recently: every ~1210 days

Total

20

Last Release

1180d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/892698bb1d3f6dae0e3a44abe3e26920ddb4eb000c6c583c87b4db5e5027e166?d=identicon)[beberlei](/maintainers/beberlei)

![](https://www.gravatar.com/avatar/87eaea74e4be4e86084decfe79612a4fb7b3bd76718a54368a0fe8593de7873b?d=identicon)[derickr](/maintainers/derickr)

---

Top Contributors

[![derickr](https://avatars.githubusercontent.com/u/208074?v=4)](https://github.com/derickr "derickr (95 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (13 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (7 commits)")[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (5 commits)")[![kore](https://avatars.githubusercontent.com/u/154398?v=4)](https://github.com/kore "kore (3 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (2 commits)")[![jpic](https://avatars.githubusercontent.com/u/94636?v=4)](https://github.com/jpic "jpic (2 commits)")[![zerustech](https://avatars.githubusercontent.com/u/417412?v=4)](https://github.com/zerustech "zerustech (1 commits)")[![madbob](https://avatars.githubusercontent.com/u/166089?v=4)](https://github.com/madbob "madbob (1 commits)")[![mamchenkov](https://avatars.githubusercontent.com/u/437928?v=4)](https://github.com/mamchenkov "mamchenkov (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zetacomponents-archive/health.svg)

```
[![Health](https://phpackages.com/badges/zetacomponents-archive/health.svg)](https://phpackages.com/packages/zetacomponents-archive)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
