dev-master
9999999-devGeração e padronização de relatórios
MIT
The Requires
- php >=5.3.2
- symfony/symfony >=2.6
- ensepar/html2pdf-bundle ^2.0
by Rafael S. Ribeiro
report bundle
Wallogit.com
2017 © Pedro PelĆ”ez
Geração e padronização de relatórios
The ReportBundle provides a standard template for quick creation of report form listing. It allows you to add basic calculations columns., (*1)
ReportBundle uses Composer, please checkout the composer website for more information., (*2)
The simple following command will install ReportBundle into your project. It also add a new
entry in your composer.json and update the composer.lock as well., (*3)
$ composer require senailibrary/reportbundle:dev-master
<?php
use SenaiLibrary\ReportBundle\Component\Report;
public function pdfAction(Request $request) {
$report = new Report();
$collection = "your collection"
$detail = new \SenaiLibrary\ReportBundle\Component\Detail($collection);
$report->setTitle('Report Title')
->setShowPageNumber(true)
->setOrientation(Report::Portrait)
->addDetail($detail);
return new \Symfony\Component\HttpFoundation\Response($report->renderPdf(), 200, array(
'Content-Type' => 'application/pdf',
)
);
}
Geração e padronização de relatórios
MIT
report bundle