PHP code example of stimulsoft / dashboards-php
1. Go to this page and download the library: Download stimulsoft/dashboards-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 / dashboards-php example snippets
Stimulsoft\Report\StiReport;
use Stimulsoft\Viewer\StiViewer;
$viewer = new StiViewer();
$viewer->process();
$report = new StiReport();
$report->loadFile('reports/SimpleDashboard.mrt');
$viewer->report = $report;
$viewer->printHtml();
Stimulsoft\Report\StiReport;
use Stimulsoft\Designer\StiDesigner;
$designer = new StiDesigner();
$designer->process();
$report = new StiReport();
$report->loadFile('reports/SimpleDashboard.mrt');
$designer->report = $report;
$designer->printHtml();
composer