Report generation in PHP (pdf, xls, doc, csv format required)

I need to create reports on my PHP website (as part of zend)

Required Formats:

PDF (with tables & images) // presently using Zend_Pdf
XLS (with tables & images)
DOC (with tables & images)
CSV (only tables)

Please recommend a reliable and fast solution for generating reports in PHP.

Platform: Zend Framework on LAMP

I know that there are several complicated solutions for creating such reports, I wonder if there is any open source reporting program that can be used with the LAMP environment

+3
source share
3 answers

In my LAMP-based application, I enabled the ability to successfully create a report using JasperReports.

PHP/Java Bridge java- Jasper. , Zend Server, .

, : http://www.rjohnson.id.au/wordpress/2007/10/27/bullet-proof-jasper-reports-and-php/

+3

, CSV CVS. excel csv

header("Content-Type: text/comma-seperated-values");
header("Content-Disposition: inline; filename=\"file.csv";");

header("Content-Type: application/vnd.ms-excel");
header("Content-Disposition: inline; filename=\"file.xls";")

. , CSV, XLS html.

+1

Source: https://habr.com/ru/post/1708331/


All Articles