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

Installs: 39 612 715

Dependents: 66

Suggesters: 10

Security: 5

Stars: 75

Watchers: 18

Forks: 34

1.5.0 2024-03-16 16:21 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