inteleon / export-builder
Export data to pdf and csv
Installs: 15 773
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 16
Forks: 0
Open Issues: 0
Requires
- php: >=5.4
- inteleon/extended-fpdf: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2025-01-18 21:14:11 UTC
README
Install
Via Composer
$ composer require inteleon/export-builder
Usage
(new ReportBuilder()) ->title('Random data') ->text('Period: Big bang - Future') ->addColumn('first', 47.5, null) ->addColumn('second', 47.5, null) ->addColumn('third', 47.5, '5678', true) ->addColumn('fourth', 47.5, '1234', false) ->numAmountColumns(2) ->data($data) ->addAccountingOrder(true) ->filename('report_test') ->exporter('pdf') ->render();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
License
The MIT License (MIT). Please see License File for more information.