Skip to content

Dashboards.PHP is a complete software package for designing and viewing dashboards. Includes the JS data analysis engine, dashboard designer and viewer. Support PHP 5, PHP 7, and PHP 8 versions.

License

Notifications You must be signed in to change notification settings

stimulsoft/Stimulsoft.Dashboards.PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stimulsoft Dashboards.PHP

Stimulsoft Dashboards.PHP is a complete software package for designing and viewing dashboards. You may use the tool for integration into your applications or as a standalone solution. At the same time, no complex configuration or third-party modules are required. You may easily integrate dashboards into almost any PHP application.

Installation

The product is distributed using the Composer repository. You can add the necessary libraries using the command:

composer require stimulsoft/dashboards-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/SimpleDashboard.mrt');
    $viewer->report = $report;
    $viewer->renderHtml();
?>
</script>

Useful links:

Live Demo

Sample Projects

Product Page

Free Download

License