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

Fund package maintenance!

Installs: 28 432 923

Dependents: 63

Suggesters: 9

Security: 5

Stars: 75

Watchers: 18

Forks: 36

1.4.14 2021-07-20 13:53 UTC


NOTE: This package is looking for a new maintainer. Are you interested? Send an e-mail to



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