artemeon/officegen

Bridge to generate reports through an external library

Maintainers

Package info

github.com/artemeon/officegen

pkg:composer/artemeon/officegen

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2018-09-12 08:26 UTC

This package is auto-updated.

Last update: 2026-02-13 14:32:21 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"]);