kharhamel / office-template-engine
Template engine for php - easily create OpenOffice and Ms Office documents
Requires
- php: >=7.2
Requires (Dev)
- php-coveralls/php-coveralls: ^2.2
- phpstan/phpstan: ^0.12.5
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2020-08-27 15:25:41 UTC
README
This library allow you to easily inject text or images into a template office document
This project is a (still in progress) rewriting of the template engine TBS and its plugin OpenTBS, with more modern practices such as a CI environement, an exception-based error gestion, etc. Check its documentation here: https://www.tinybutstrong.com/opentbs.php?doc
credits go to Skrol29 and the TinyButStrong team. http://www.tinybutstrong.com/
Work in progress
This project is a heavy wip. The first objective is to increase the code coverage as much as possible, before refractoring the code, and then maybe had features or edit the template syntax.
Installation
composer require kharhamel/office-template-engine
If you use symfony, a bundle is available:
composer require kharhamel/office-template-engine-bundle
How to use
This project try to keep the same api than OpenTBS for the moment. Everything you can see in its doc should be applicable here.
For more information ...
read the TBS manual at http://www.tinybutstrong.com/manual.php
and the OpenTBS plugin documentation at http://www.tinybutstrong.com/plugins/opentbs/tbs_plugin_opentbs.html