Smart Report Engine is a PHP reporting library for MySQL and MariaDB. It helps developers generate polished reports directly from code. Use it in native PHP or Laravel.
With Smart Report Engine, you can add reporting inside your app. Your users get professional reports with key features like grouping, filters, totals, and export. You can also control formatting, layout, and security.
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use Sre\SmartReportEngine\src\CustomEngine;use Sre\SmartReportEngine\src\ReportOptions; class ReportService { public function generatePublicReport() { $report = new ReportOptions('PUBLIC_REPORT'); $report->select_tables(array("items")) ->set_grouping(array("country")) ->set_layout("OUTLINE") ->select_all_fields(); $engine = new CustomEngine($report); $report_path = $engine->create_report(); return $report_path; }} |
Generate MySQL reports from PHP code in minutes. Use a clean API that is easy to learn.
Build reports with methods you can extend. Keep full control inside your codebase.
Add reporting features faster. Reduce debugging, maintenance, and custom report code.
Each commercial license includes both options. Use the pure PHP engine or the Laravel package.
Set the layout to mobile.
Generate reports that work well on small screens.
Get direct help from our experts. Submit tickets through our support system.
A: Smart Report Maker is a complete reporting product. It includes reports, charts, dashboards, drill-down, and KPIs. Smart Report Engine is a PHP reporting engine. Developers integrate it into PHP or Laravel and generate reports by API.
A: Yes. It is provided as pure PHP files you can add to your project. No command lines. No complex setup.
A: It adds MySQL reporting inside your application. You generate professional reports from code (PHP or Laravel). This helps you ship reporting faster and reduce custom development.
A: Yes. It includes security helpers for session-based login systems. Follow this tutorial for details.
A: Yes. Each user can see only their own records. This tutorial explains how.
A: Visit the examples and tutorials section.
A: Yes. There is usually a cross-product promotion between SRM and SRE. The discount is often around 25%, but it may change. Check the “We Also Recommend” section on the checkout page for current offers.