stimulsoft/reports-php
最新稳定版本:2026.1.1
Composer 安装命令:
composer require stimulsoft/reports-php
包简介
Stimulsoft Reports.PHP
关键字:
README 文档
README
Stimulsoft Reports.PHP is a report generator intended to create, view, print, and export reports online using client-server technology. The Stimulsoft report generator for PHP is a fast and powerful JavaScript report engine, rich and intuitive interface, simple integration and deployment process in PHP applications, and an easy and understandable licensing model.
Installation
You can add the necessary libraries using the command:
composer require stimulsoft/reports-php
Usage
To work with the report generator, use the following code:
<?php require_once 'vendor/autoload.php'; use Stimulsoft\Report\StiReport; $report = new StiReport(); $report->process(); $report->loadFile('reports/SimpleList.mrt'); $report->render(); $report->printHtml(); ?>
To work with the report viewer, use the following code:
<?php require_once 'vendor/autoload.php'; use 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(); ?>
To work with the report designer, use the following code:
<?php require_once 'vendor/autoload.php'; use 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(); ?>
These code examples are basic. There are many features, options, and other variations. For details, see our examples and documentation. For more details, please see our examples and documentation.
Useful links:
统计信息
- 总下载量: 22.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-11-11