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

Fund package maintenance!

Installs: 16 149 837

Dependents: 61

Suggesters: 8

Security: 3

Stars: 71

Watchers: 18

Forks: 36

1.4.14 2021-07-20 13:53 UTC



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

Please report all new issues via the PEAR bug tracker.

Pull requests are welcome!

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