https://github.com/bit4bit/phrelatorio
build reports using a opendocument editor (mirror)
https://github.com/bit4bit/phrelatorio
odt php reporting reporting-tool
Last synced: 6 months ago
JSON representation
build reports using a opendocument editor (mirror)
- Host: GitHub
- URL: https://github.com/bit4bit/phrelatorio
- Owner: bit4bit
- License: mit
- Created: 2022-06-04T16:11:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T01:31:17.000Z (about 3 years ago)
- Last Synced: 2024-04-25T02:03:27.221Z (about 2 years ago)
- Topics: odt, php, reporting, reporting-tool
- Language: PHP
- Homepage: https://chiselapp.com/user/bit4bit/repository/phrelatorio/
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# phrelatorio
build reports using opendocument editor (like libreoffice/abiwork/gnumeric).
see **examples** for how to build reports.
~~~php
use Phrelatorio\OpenDocument as Relatorio;
$doc = Relatorio::loadFlatODT('myods.fods');
$doc->save('mynewods.fods', ...context...);
~~~
# Limitation
- only support Flat OpenDocument
# Todo
- [x] allow php expressions
- [ ] inject images
- [ ] work with .odt and .ods
# Contributing
1. `rake dev:up`
2. `rake dev:init`
3. `rake tdd`
4. `rake dev:down`
# Thanks
* [PHPTAL](https://phptal.org/)
# Inspired by
* [relatorio](https://hg.tryton.org/relatorio/file/tip/README)