GithubHelp home page GithubHelp logo

byte-crafter / samples-reports.php-for-laravel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stimulsoft/samples-reports.php-for-laravel

0.0 0.0 0.0 302 KB

PHP Laravel samples for Reports.PHP reporting tool, and embedded JavaScript report engine

Home Page: https://www.stimulsoft.com/en/products/reports-php

License: Other

PHP 76.57% Batchfile 0.02% Blade 23.42%

samples-reports.php-for-laravel's Introduction

PHP Laravel samples for Stimulsoft Reports.PHP

This repository contains the source code of the examples of usage Stimulsoft Reports.PHP reporting tool in the PHP Laravel application, using HTML/PHP code and JavaScript components. The product is fully compatible with Laravel 8 and higher, uses Blade templates, and a controller to handle events.

Overview

This repository contains a standard Laravel web project with Report Viewer and Report Designer components, as well as several sample reports.

Running samples

The folder contains all the scripts and resources of the project. So all files from this folder must be copied to your PHP server, using FTP or HTTP access interface - depending on your hosting provider.

Before copying the files, you need to create the .env configuration file for the Laravel application. You can copy the configuration template from the .env.example file, and make changes if necessary. On first launch, the Laravel application will ask you to generate a unique application key, which will be stored in the .env configuration file.

To download all dependencies, please use the command:
composer update

To run the project, please use the command:
php artisan serve

After that, the web project is available at:
http://127.0.0.1:8000/

For more information, see the documentation on working with Laravel framework.

Deployment

To add Stimulsoft components to your Laravel application, just follow a few simple steps.

  1. Add the Stimulsoft library dependency using the Composer manager:
composer require stimulsoft/reports-php
  1. Add Stimulsoft service provider to app.php file:
Stimulsoft\Laravel\StiServiceProvider::class
  1. Add the Blade component template to the application resources, for example:
viewer.blade.php
  1. Add a component controller and set the necessary methods for event handling in it, for example:
HandlerController.php
  1. Add the necessary routes to the created view and controller in the web.php file, for example:
Route::get('/viewer', function () {
    return view('viewer');
});

Route::any('/handler', [HandlerController::class, 'process']);
  1. Everything is ready, you can launch the application and work with Stimulsoft reports.

About Stimulsoft Reports.PHP

Stimulsoft Reports.PHP is a reporting tool designed to create, edit and view reports in the Internet using a client-server technology. The PHP script works on the server side and controls the report generation. The JavaScript report engine works on the client side and provides a universal mechanism for reports generation almost on any client. Fast and powerful report engine, rich and intuitive interface, deployment and licensing.

Live Demo

Product Page

Package Repository

Free Download

License

samples-reports.php-for-laravel's People

Contributors

musemuses avatar vladimirhot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.