artemeon / officegen
Bridge to generate reports through an external library
v0.1.0
2018-09-12 08:26 UTC
Requires
- php: >=7.0
- symfony/process: ^3.3
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is auto-updated.
Last update: 2024-11-13 11:46:28 UTC
README
Bridge component which provides a way to generate a report through an external library. I.e.
we can use the apache POI library to generate specific reports. The main class of the component
is the Processor
class which you can easily register in your DI container.
$reportFile = "my_report.docx"; $generator = new BlackHole(); $processor = new Processor($generator); $processor->execute("TestReport", $reportFile, ["foo" => "bar"]);