For those who need to build OpenXML documents (docx, xlsx, pptx) in PHP, I wanted share this Open Source tool:
OpenTBS is pure PHP tool that can build OpenXML documents using natural templates (i.e. templates that are real documents designed under Ms Office).
OpenTBS is a plug-in of the TinyButStrong template engine. It makes you invisible the fact that the OpenXML documents are actually embedded in a zip container with multiple XML sub-files.
You can merge text of course, but also pictures, charts, tables, .... The template engine is mature enough to support classic template features like data formating, conditional expressions, blocks, ...By the way, OpenTBS also merges OpenOffice documents.
Demo, documentation and download at:
Looks much better then Aspose, Document Builder and anything else I've seen so far.
Native support for MS Office, Office, HTML etc.
Free as in speech.
Any down sides ?
Can we get involved ?
How about a C++, Java etc. version ?
Thanks for your feedback :)
The OpenTBS and TBS projects mostly need authors for news, articles and tutorials. But this is rare to find.
Good developers are also welcome but there is a deep code exploration to start with.