PHPackages                             pear/archive\_tar - 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. pear/archive\_tar

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

pear/archive\_tar
=================

Tar file management class with compression support (gzip, bzip2, lzma2)

1.6.0(10mo ago)7661.0M—1.5%3520BSD-2-ClausePHPPHP &gt;=5.4.0CI passing

Since Feb 9Pushed 10mo ago13 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (24)Used By (20)Security (6)

Archive\_Tar
============

[](#archive_tar)

[![.github/workflows/build.yml](https://github.com/pear/Archive_Tar/workflows/.github/workflows/build.yml/badge.svg)](https://github.com/pear/Archive_Tar/workflows/.github/workflows/build.yml/badge.svg)

This package provides handling of tar files in PHP. It supports creating, listing, extracting and adding to tar files. Gzip support is available if PHP has the zlib extension built-in or loaded. Bz2 compression is also supported with the bz2 extension loaded. Also Lzma2 compressed archives are supported with xz extension.

This package is hosted at [http://pear.php.net/package/Archive\_Tar](http://pear.php.net/package/Archive_Tar)

Please report all new issues via the PEAR bug tracker.

Pull requests are welcome!

Testing, building
-----------------

[](#testing-building)

To test, run either $ phpunit tests/ or $ pear run-tests -r

To build, simply $ pear package

To install from scratch $ pear install package.xml

To upgrade $ pear upgrade -f package.xml

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance55

Moderate activity, may be stable

Popularity66

Solid adoption and visibility

Community47

Growing community involvement

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 56.2% 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 ~206 days

Recently: every ~410 days

Total

23

Last Release

303d ago

PHP version history (3 changes)1.3.11PHP &gt;=4.3.0

1.4.1PHP &gt;=5.2.0

1.6.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/a1a2e6fe03f91204de2117430a748a12db2957eb113d4a50fc86d68d3c851e11?d=identicon)[cweiske](/maintainers/cweiske)

![](https://www.gravatar.com/avatar/244aa5ea757c09dc227ef8762d2a461d26774995b610c39c252dd12da93ebf2b?d=identicon)[saltybeagle](/maintainers/saltybeagle)

---

Top Contributors

[![mrook](https://avatars.githubusercontent.com/u/477719?v=4)](https://github.com/mrook "mrook (146 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (24 commits)")[![mcdruid](https://avatars.githubusercontent.com/u/634209?v=4)](https://github.com/mcdruid "mcdruid (17 commits)")[![wapmorgan](https://avatars.githubusercontent.com/u/6000618?v=4)](https://github.com/wapmorgan "wapmorgan (13 commits)")[![stigsb](https://avatars.githubusercontent.com/u/169939?v=4)](https://github.com/stigsb "stigsb (9 commits)")[![alexpott](https://avatars.githubusercontent.com/u/769634?v=4)](https://github.com/alexpott "alexpott (6 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (5 commits)")[![tvvcox](https://avatars.githubusercontent.com/u/743820?v=4)](https://github.com/tvvcox "tvvcox (5 commits)")[![piRGoif](https://avatars.githubusercontent.com/u/8947448?v=4)](https://github.com/piRGoif "piRGoif (3 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![helgi](https://avatars.githubusercontent.com/u/70530?v=4)](https://github.com/helgi "helgi (3 commits)")[![woefe](https://avatars.githubusercontent.com/u/4680564?v=4)](https://github.com/woefe "woefe (2 commits)")[![chazzbg](https://avatars.githubusercontent.com/u/4026105?v=4)](https://github.com/chazzbg "chazzbg (2 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (2 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (2 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (2 commits)")[![mortenson](https://avatars.githubusercontent.com/u/2091002?v=4)](https://github.com/mortenson "mortenson (2 commits)")[![MPParsley](https://avatars.githubusercontent.com/u/1823998?v=4)](https://github.com/MPParsley "MPParsley (2 commits)")[![steffunky](https://avatars.githubusercontent.com/u/5959857?v=4)](https://github.com/steffunky "steffunky (2 commits)")[![oyejorge](https://avatars.githubusercontent.com/u/1043524?v=4)](https://github.com/oyejorge "oyejorge (1 commits)")

---

Tags

archivetar

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[wapmorgan/unified-archive

UnifiedArchive - an archive manager with unified interface of working with all popular archive formats (zip/7z/rar/gz/bz2/xz/cab/tar/tar.gz/tar.bz2/tar.x/tar.Z/...) for PHP with ability for listing, reading, extracting and creation + built-in console archive manager.

2791.6M7](/packages/wapmorgan-unified-archive)[nelexa/zip

PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.

4967.4M112](/packages/nelexa-zip)[splitbrain/php-archive

Pure-PHP implementation to read and write TAR and ZIP archives

1061.4M20](/packages/splitbrain-php-archive)[barracudanetworks/archivestream-php

A library for dynamically streaming dynamic tar or zip files without the need to have the complete file stored on the server.

77192.2k1](/packages/barracudanetworks-archivestream-php)[phpzip/phpzip

Package to create and stream archives of compressed files in ZIP format with PHP 5.3+

124840.7k9](/packages/phpzip-phpzip)[raulfraile/distill

Smart compressed files extractor

228190.4k9](/packages/raulfraile-distill)

PHPackages © 2026

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