|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2021-07-21 (2 months ago) ||Not yet rated by the users||Total: 79 ||All time: 9,756 This week: 182|
This package can create and convert documents from MS Word template.
It can load and parse template files in Microsoft Word DOCX format to replace values of document properties and template placeholder marks with given template parameter values.
It can also replace and delete images, manage document pages, create document copies, copy pages inside the document, or add rows to your tables.
The processed template document can be converted into documents in other formats using LibreOffice like: PDF, HTML, XHTML, HTML adapted for email.
Word Template Engine
Word Template Engine is a PHP based template processor and converter that allows to create documents from DOCX templates (download an example.docx) and convert them trough LibreOffice into the following formats: PDF, HTML, XHTML, mail-adapted HTML. This light-weight library will help you in creating invoices, contracts, waylists and other documents. Use variables inside your document and substitute them with values on the server side, replace and delete images, manage document sections (pages), make a document copy or a section copy inside the document, add rows to your tables. Output the documents to a user browser, attach the WORD or PDF files to emails, or create a HTML mail content from your template.
Documentation and examples: https://addondev.com/opensource/word-template-engine
[1.0.1] - 2021-07-19
Improved performance of processing large documents. More than 1000 variable replacements take a few seconds. Reduced memory and CPU usage. Speed increased by 6-8 times.
[1.0.2] - 2021-07-21
Fixed directory separators caused issues on Windows platform.
Generation of unique temporary subdirectory to resolve potential multiuser conflicts.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.