定制 stimulsoft/reports-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 8
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 8
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 未知