veasey/report-builder

This package is abandoned and no longer maintained. No replacement package was suggested.

A technical test entry to create a report class for Laravel

dev-master 2020-04-25 12:25 UTC

This package is auto-updated.

Last update: 2023-03-25 19:28:11 UTC


README

A package for a technical test that I may expand on later.

can retrieve data via database by any means.

ReportBuilder can be populated by either eloquent or other means of getting information from the DB.

facades

Use of a facade for a "string based alias" to enable type of report to be defined. Use of facades I thought would be easier (in a live project, for example) to remember and require less typing.

generators

Facade for each generator. Would allow PDFs, CSVs to be made easily - whilst separating that logic from the main ReportBuilder class.