OpenTBS is a PHP tool that helps you to make OpenOffice and MS Office documents using templates. You first design your template using OpenOffice or MS Office, and then OpenTBS merges it with data that you supply from PHP code and databases. It has facilities to manage pictures. The resulting documents are saved to file, served for download, or returned as a string. In fact, OpenTBS can merge any OpenDocument files, any OpenXML files, and any XML files compressed in a Zip archive. No extra exe file is required and it makes no temporary files, since all work is done in memory. OpenTBS is based on the TinyButStrong template engine.
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.