PHPackages                             xv1t/opendocument-template - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. xv1t/opendocument-template

ActiveLibrary[Templating &amp; Views](/categories/templating)

xv1t/opendocument-template
==========================

Rendering templates with multidimensional data into a reports

0.2(9y ago)1181MITPHPPHP &gt;=5.3.0

Since Sep 27Pushed 8y agoCompare

[ Source](https://github.com/xv1t/OpenDocumentTemplate)[ Packagist](https://packagist.org/packages/xv1t/opendocument-template)[ Docs](https://github.com/xv1t/OpenDocumentTemplate)[ RSS](/packages/xv1t-opendocument-template/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Project nameOpenDocumentTemplateLanguagePHPSource filesODS, ODT\#Fast generation OpenDocument reports Support files: `ODS`, `ODT`

TemplateReport[ ![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/document_template_src.jpg) ](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/documents) Bill document template (ODS)[ ![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/document_template_out.jpg) ](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/documents) See the great manual [/examples/documents](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/documents)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/continents_template_src.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/continents_template_src.jpg) Simple cards with data (ODS)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/continents_template_out.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/continents_template_out.jpg) [/examples/continents](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/continents)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/pictures_template_src.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/pictures_template_src.jpg) Dynamic pictures (ODS)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/pictures_template_out.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/pictures_template_out.jpg) [/examples/pictures](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/pictures)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/deepdata_template_src.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/deepdata_template_src.jpg) 15 level deep dimensions (ODS)[![](https://github.com/xv1t/OpenDocumentTemplate/raw/master/docs/img/deepdata_template_out.jpg)](https://github.com/xv1t/OpenDocumentTemplate/blob/master/docs/img/deepdata_template_out.jpg) [/examples/deepdata](https://github.com/xv1t/OpenDocumentTemplate/tree/master/examples/deepdata)Recommended software for create template

- LibreOffice
- OpenOffice

Your done report files was correct opened in

- LibreOffice
- OpenOffice
- MS Office &gt;=2010

Fast manual (ods)
-----------------

[](#fast-manual-ods)

1. Create template ods file
2. Put elements
3. Mark ranges
4. Load data from database
5. Render data through template file info your new ods file
6. Open in the LibreOffice Calc or other and enjoy

Requirements
------------

[](#requirements)

Php extensions

- zip
- xml

Php version &gt;=5.3

Recommended sowfware for templating: LibreOffice 5

Install
-------

[](#install)

Put file `OpenDocumentTemplate.php` into your project, and use it

```
