Using the exec function of PHP, this script compresses a file into tar.gz. It can also compress a whole directory. There is a live demo.
A function to encrypt and decrypt data with a key.
A library that allows you to create a GNU TAR archive, as well as add and extract files and directories. Files generated by PclTar are readable by gzip and WinZip.
A library that allows you to manage ZIP formatted archives. Archives can be created, listed and extracted.