Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stimulsoft/samples-reports.php

PHP samples for Reports.PHP report builder for PHP 7 and PHP 8 projects, and embedded JavaScript report designer and report viewer
https://github.com/stimulsoft/samples-reports.php

barcodes charts client-server composer document excel export firebird gauges generator interaction json maps mysql php php8 reporting reports sql tables

Last synced: 7 days ago
JSON representation

PHP samples for Reports.PHP report builder for PHP 7 and PHP 8 projects, and embedded JavaScript report designer and report viewer

Awesome Lists containing this project

README

        

# PHP and JavaScript samples for Stimulsoft Reports.PHP

#### This repository contains examples of integrating the Stimulsoft Reports.PHP reporting tool into PHP applications, using a set of PHP classes and functions that allow you to easily add a JavaScript report generator to PHP applications. Supports building and exporting a report on the server side using the Node.js platform. The reporting components are fully compatible with all versions of PHP 7 and PHP 8. The integration supports PHP and JavaScript code.

## Overview
This repository contains a PHP project ready to run. The 'index.php' file contains links to examples, each of which is located in a separate .php file:

#### License activation
* [How to Activate the Product](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/How%20to%20Activate%20the%20Product.php)

#### Working with Report
* [Rendering a Report from Code](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/Rendering%20a%20Report%20from%20Code.php)
* [Rendering a Report from Code on a Button Click](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/Rendering%20a%20Report%20from%20Code%20on%20a%20Button%20Click.php)
* [Printing a Report from Code](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/Printing%20a%20Report%20from%20Code.php)
* [Exporting a Report from Code](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/Exporting%20a%20Report%20from%20Code.php)
* [Changing Report Properties on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report/Changing%20Report%20Properties%20on%20the%20Server-Side.php)

#### Working with Report on the Server-Side
* [Configuring and Installing Node.js](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Configuring%20and%20Installing%20NodeJs.php)
* [Rendering a Report from Code on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Rendering%20a%20Report%20from%20Code%20on%20the%20Server-Side.php)
* [Rendering a Report with SQL from Code on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Rendering%20a%20Report%20with%20SQL%20from%20Code%20on%20the%20Server-Side.php)
* [Exporting a Report from Code on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Exporting%20a%20Report%20from%20Code%20on%20the%20Server-Side.php)
* [Registering a Data from Code when Rendering a Report on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Registering%20a%20Data%20from%20Code%20when%20Rendering%20a%20Report%20on%20the%20Server-Side.php)
* [Exporting a Report from Code with Changing Export Settings](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Report%20on%20the%20Server-Side/Exporting%20a%20Report%20from%20Code%20with%20Changing%20Export%20Settings.php)

#### Working with Viewer
* [Showing a Report in the Viewer](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Showing%20a%20Report%20in%20the%20Viewer.php)
* [Showing a Report in the Viewer in an HTML template](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Showing%20a%20Report%20in%20the%20Viewer%20in%20an%20HTML%20template.php)
* [Showing a Report in the Viewer in an HTML template using PHP variables](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Showing%20a%20Report%20in%20the%20Viewer%20in%20an%20HTML%20template%20using%20PHP%20variables.php)
* [Showing a Report in the Viewer using JavaScript](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Showing%20a%20Report%20in%20the%20Viewer%20using%20JavaScript.php)
* [Changing the Viewer Theme](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Changing%20the%20Viewer%20Theme.php)
* [Registering a Data from Code](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Registering%20a%20Data%20from%20Code.php)
* [Setting Report Variables on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Setting%20Report%20Variables%20on%20the%20Server-Side.php)
* [Using SQL Data Sources](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Using%20SQL%20Data%20Sources.php)
* [Using Parameters in SQL Query](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Using%20Parameters%20in%20SQL%20Query.php)
* [Sending a Report by Email](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Sending%20a%20Report%20by%20Email.php)
* [Changing an Export Settings on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Changing%20an%20Export%20Settings%20on%20the%20Server-Side.php)
* [Sending an Exported Report to the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Sending%20an%20Exported%20Report%20to%20the%20Server-Side.php)
* [Opening the Report in the Viewer and Changing it on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Viewer/Opening%20the%20Report%20in%20the%20Viewer%20and%20Changing%20it%20on%20the%20Server-Side.php)

#### Working with Designer
* [Editing a Report Template in the Designer](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Editing%20a%20Report%20Template%20in%20the%20Designer.php)
* [Editing a Report Template in the Designer in an HTML template](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Editing%20a%20Report%20Template%20in%20the%20Designer%20in%20an%20HTML%20template.php)
* [Editing a Report Template in the Designer using JavaScript](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Editing%20a%20Report%20Template%20in%20the%20Designer%20using%20JavaScript.php)
* [Saving a Report Template on the Server-Side](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Saving%20a%20Report%20Template%20on%20the%20Server-Side.php)
* [Registering Data when Creating a New Report](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Registering%20Data%20when%20Creating%20a%20New%20Report.php)
* [Localizing the Designer](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Localizing%20the%20Designer.php)
* [Loading Scripts in Part to Minify Project](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Loading%20Scripts%20in%20Part%20to%20Minify%20Project.php)
* [Working with onDesign and onExit events](https://github.com/stimulsoft/Samples-Reports.PHP/blob/master/Working%20with%20Designer/Working%20with%20onDesign%20and%20onExit%20events.php)

## Running samples
The samples folder contains all the scripts and resources of the project, including the 'index.php' file. So all files from this folder are required to be copied on your PHP server, using FTP or HTTP access interface - depending on your hosting provider.

After that, in your browser, you can navigate to the following address:
http://your-domain-name/index.php

If you are using a PHP server installed on your local development computer:
http://localhost/index.php

## Composer
Additionally, the examples are ready to work with the [Composer](https://getcomposer.org/) dependency manager. You can use the specified command to update the product and all dependencies to the latest available version:

```
composer update stimulsoft/reports-php
```

## Other PHP reporting components
* [Laravel Framework](https://github.com/stimulsoft/Samples-Reports.PHP-for-Laravel)

## About Stimulsoft Reports.PHP
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.

## Useful links
* [Live Demo](http://demo.stimulsoft.com/#Js)
* [Product Page](https://www.stimulsoft.com/en/products/reports-php)
* [Composer Package](https://packagist.org/packages/stimulsoft/reports-php)
* [Free Download](https://www.stimulsoft.com/en/downloads)
* [Documentation](https://www.stimulsoft.com/en/documentation/online/programming-manual/reports_and_dashboards_for_php.htm)
* [License](LICENSE.md)