php php报告工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9646574/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
php reporting tools
提问by sdemirkeser
I have been developing with PHP for over ten years (since PHP version 3) and have used many different programming languages.
我已经使用 PHP 开发了十多年(从 PHP 版本 3 开始),并且使用过许多不同的编程语言。
But I have never seen any PHP reporting tools. I am looking for something similar to
但我从未见过任何 PHP 报告工具。我正在寻找类似的东西
- Jasper Reports
- Crystal Reports
- Fast Report
- Quick Report
- Report Builder
- 贾斯珀报告
- 水晶报表
- 快速报告
- 快速报告
- 报表生成器
I am notlooking for:
我不是在寻找:
- FPDF
- PHPExcel
- TCPDF
- FPDF
- PHPExcel
- TCPDF
There must be a report designer and report library.
必须有报表设计器和报表库。
Has anyone seen PHP reporting tools comparable to those I mentioned?
有没有人见过与我提到的那些类似的 PHP 报告工具?
回答by jdorn
You should check out Php Reports http://jdorn.github.io/php-reports/
您应该查看 PHP 报告http://jdorn.github.io/php-reports/
Pros:
优点:
- Display reports as HTML tables
- Add charts/graphs to accompany reports
- Export reports to CSV, XLS, JSON, XML, etc.
- Add parameters to reports (e.g. date range)
- Find reports by browsing or searching.
- Looks really nice.
- 将报告显示为 HTML 表格
- 添加图表/图形以伴随报告
- 将报告导出为 CSV、XLS、JSON、XML 等。
- 向报告添加参数(例如日期范围)
- 通过浏览或搜索查找报告。
- 看起来真的很不错。
Cons:
缺点:
- No report designer, reports are just SQL files with comments for meta information
- No user management or access control
- No email scheduling of reports (coming soon)
- 没有报表设计器,报表只是带有元信息注释的 SQL 文件
- 没有用户管理或访问控制
- 报告没有电子邮件安排(即将推出)
I looked into all the existing solutions for PHP before writing the Php Reports framework. Everything out there was ugly, unmaintained, not flexible enough, and/or hard to set up and use.
在编写 PHP Reports 框架之前,我查看了所有现有的 PHP 解决方案。那里的一切都很丑陋,没有维护,不够灵活,和/或难以设置和使用。
回答by Starx
回答by mccbala
Reportico looks promising. Also it has an extension for Yii making it my favourite.
Reportico 看起来很有希望。它还有一个 Yii 的扩展,使它成为我的最爱。
回答by kstan
This project exist for long time. I create all my project using this. http://www.simitgroup.com/?q=PHPJasperXML
这个项目存在很长时间。我使用它创建了我所有的项目。 http://www.simitgroup.com/?q=PHPJasperXML
回答by juanmf
I haven't been a PHP dev for so long :P but I ran into the same issue. So I developed a solution that is comparable with Report Builder. It integrates several technologies (ApacheFOP, XSLT, XSLFO, MS Word, PHP, Doctrine 1.2) but provides a pure PHP API.
我已经很久没有成为 PHP 开发人员了 :P 但我遇到了同样的问题。所以我开发了一个与 Report Builder 相当的解决方案。它集成了多种技术(ApacheFOP、XSLT、XSLFO、MS Word、PHP、Doctrine 1.2),但提供了一个纯 PHP API。
Take a look and count with my help if needed. https://github.com/juanmf/sfPlugins/tree/master/reportPlugin
如果需要,请看一看并在我的帮助下计数。 https://github.com/juanmf/sfPlugins/tree/master/reportPlugin
Currently its a symfony plugin, but I'll decouple it.
目前它是一个 symfony 插件,但我会解耦它。
Its similar to ReportBuilder in that you use Word as designer for report templates, where you must consider the data source structure (XML) to create the data placeholders. Also if you get your data in an array, then you can convert it into XML directly with utils methods. I explain a bit in this similar post: https://stackoverflow.com/questions/5519024/report-engine-solution-for-lamp-application#13042656
它类似于 ReportBuilder,因为您使用 Word 作为报告模板的设计器,您必须考虑数据源结构 (XML) 来创建数据占位符。此外,如果您在数组中获取数据,则可以使用 utils 方法直接将其转换为 XML。我在这个类似的帖子中解释了一下:https: //stackoverflow.com/questions/5519024/report-engine-solution-for-lamp-application#13042656
回答by Francis Gonzales
you can integrate PHP with Java and to use JasperReports with iReport as an IDE :).
您可以将 PHP 与 Java 集成,并将 JasperReports 与 iReport 一起用作 IDE :)。
I've developed a library this is the link https://github.com/FraGoTe/JasperPHPlibrary
我开发了一个库,这是链接https://github.com/FraGoTe/JasperPHPlibrary
Best regards.
此致。