PHP code example of stimulsoft / reports-php
1. Go to this page and download the library: Download stimulsoft/reports-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stimulsoft / reports-php example snippets
Stimulsoft\Report\StiReport;
$report = new StiReport();
$report->process();
$report->loadFile('reports/SimpleList.mrt');
$report->render();
$report->printHtml();
Stimulsoft\Report\StiReport;
use Stimulsoft\Viewer\StiViewer;
$viewer = new StiViewer();
$viewer->process();
$report = new StiReport();
$report->loadFile('reports/SimpleList.mrt');
$viewer->report = $report;
$viewer->printHtml();
Stimulsoft\Report\StiReport;
use Stimulsoft\Designer\StiDesigner;
$designer = new StiDesigner();
$designer->process();
$report = new StiReport();
$report->loadFile('reports/SimpleList.mrt');
$designer->report = $report;
$designer->printHtml();
composer