Download the PHP package openworks-srl/documentor without Composer
On this page you can find all versions of the php package openworks-srl/documentor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download openworks-srl/documentor
More information about openworks-srl/documentor
Files in openworks-srl/documentor
Package documentor
Short Description PHP5 lib to dynamically generate office document, starting from html page, twig template, data array, word template and more. Based on several popular open-source software.
License Apache-2.0
Informations about the package documentor
Documentor
PHP5 library to dynamically generate office document, starting from html page, twig template, data array, word template and more. This software is just a sort of wrapper that use several great library toghether to easy generate document.
The version 1.x has to be intended as Php 5.x compliant, a 2.x version (Php 7.x compliant) will be released soon. Some of the dependency may be old and/or may has been deprecated, because Php 5 has been officialy deprecated, but, for us, Php 5.x compliance is, right now, actualy a need.
The librarys taht this software is built on are (in no particular order):
What can this library do?
More deatil on how to use each mode below this section.
Generate word (and word like) document such as .docx, .doc, .odt starting from:
- A plain html page
- A twig template (full twig syntaxs and constructs can be used, data can be passed to be filled in the template)
- Existing document template (.doc, .docx) (data can be passed to be filled in the template)
- Merging exisng document (.doc, .docx) with an html (or twig) part. (Useful for use with fancy/complex header or toc)
- Manually (using PHPOffice/PHPWord api)
Generate excel (and excel like) document such as .xlsx, .xls, .ods starting from:
- A plain html page
- A twig template (full twig syntaxs and constructs can be used, data can be passed to be filled in the template)
- Array of data (existing document template can be used)
- Manually (using PHPOffice/PHPExcel api)
Generate pdf document starting from:
- A plain html page
- A twig template (full twig syntaxs and constructs can be used, data can be passed to be filled in the template)
- An exsisting Word (docx, doc, odt) or Excel (xlsx, xls, ods) file.
- A Word template (.doc, .docx) (data can be passed to be filled in the template)
How can i use this library?
Coming soon...
How this works internaly?
Generated documentation (not completed yet!) Coming soon...
How can i contribuite to this library?
Coming soon...
All versions of documentor with dependencies
symfony/yaml Version 3.3.18
phpoffice/phpword Version ^0.17.0
phpoffice/phpspreadsheet Version 1.8.2
mikehaertl/phpwkhtmltopdf Version ^2.4
doctrine/instantiator Version 1.0.5