stimulsoft / reports-php
Stimulsoft Reports.PHP
Installs: 6 792
Dependents: 2
Suggesters: 0
Security: 0
Stars: 5
Watchers: 11
Forks: 4
Open Issues: 1
Requires
- php: >=7.0
- ext-json: *
- ext-mbstring: *
- ext-zlib: *
- phpmailer/phpmailer: ^6.6
Suggests
- ext-interbase: *
- ext-mssql: *
- ext-mysqli: *
- ext-oci8: *
- ext-odbc: *
- ext-pdo: *
- ext-pgsql: *
- ext-sqlsrv: *
- dev-master
- 2024.4.5
- 2024.4.4
- 2024.4.3
- 2024.4.2
- 2024.4.1
- 2024.3.6
- 2024.3.5
- 2024.3.4
- 2024.3.3
- 2024.3.2
- 2024.3.1
- 2024.2.6
- 2024.2.5
- 2024.2.4
- 2024.2.3
- 2024.2.2
- 2024.2.1
- 2024.1.4
- 2024.1.3
- 2024.1.2
- 2024.1.1
- 2023.4.4
- 2023.4.3
- 2023.4.2
- 2023.4.1
- 2023.3.4
- 2023.3.3
- 2023.3.2
- 2023.3.1
- 2023.2.8
- 2023.2.7
- 2023.2.6
- 2023.2.5
- 2023.2.4
- 2023.2.3
- 2023.2.2
- 2023.2.1
- 2023.1.8
- 2023.1.7
- 2023.1.6
- 2023.1.5
- 2023.1.4
- 2023.1.3
- 2023.1.2
- 2023.1.1
- 2022.4.5
- 2022.4.4
This package is auto-updated.
Last update: 2024-11-27 08:32:01 UTC
README
Stimulsoft Reports.PHP is a reporting tool designed to create, edit and view reports in the Internet using a client-server technology. The PHP script works on the server side and controls the report generation. The JavaScript report engine works on the client side and provides a universal mechanism for reports generation almost on any client. Fast and powerful report engine, rich and intuitive interface, deployment and licensing.
Installation
The product is distributed using the Composer repository. You can add the necessary libraries using the command:
composer require stimulsoft/reports-php
Usage
Add the minimum required code to the page:
<?php require_once 'vendor/autoload.php'; ?>
Render the necessary scripts in the <head>
section
<head> <?php $js = new \Stimulsoft\StiJavaScript(\Stimulsoft\StiComponentType::Viewer); $js->renderHtml(); ?> </head>
Create and render a request handler in the <script>
section of the page:
<script> <?php $handler = new \Stimulsoft\StiHandler(); $handler->renderHtml(); ?> </script>
Create and render the component in the <script>
section of the page:
<script> <?php $viewer = new \Stimulsoft\Viewer\StiViewer(); $report = new \Stimulsoft\Report\StiReport(); $report->loadFile('reports/SimpleList.mrt'); $viewer->report = $report; $viewer->renderHtml(); ?> </script>