TbsZip is a PHP class that enables you to read and write Zip archives. The class doesn't require PHP extensions or temporary files. TbsZip can read, add, delete, and modify files stored in an archive. It can even start with an empty archive. The original archive is not modified. The new archive can be saved in the server as a new file, or provided directly as an HTTP download, or even as a binary string. If the Zlib extension is activated in PHP, then TbsZip can automatically compress and uncompress files in the archive.
| Tags | PHP php class Zip archive Dynamic Content Software Development Libraries |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | PHP |
Last announcement
The TbsZip package now includes code examples to help developers getting started quickly.
Recent releases


Release Notes: 1 bug has been fixed: the method FileCancelModif() doesn't cancel added files.


Release Notes: Three minor bugs were fixed, and PHP notice messages were fixed.


Release Notes: One bug was fixed: a PHP warning that reads, "Warning: fclose(): 10 is not a valid stream resource," may happen when closing an archive twice.


Release Notes: A PHP error "supplied argument is not a valid stream resource" or "Undefined property: clsOpenTBS::$OutputHandle" may have happened when using Flush(). This has been fixed.


Release Notes: This version brings a minor enhancement: it raises a TbsZip error if Flush() attempts to overwrite a locked file. A minor bug has been fixed: strict compatibility with PHP 5 (no PHP warning with error reporting E_STRICT).
A host-based vulnerability assessment tool that uses OVAL definitions.