This example is outdated, you can check out the many other new examples in this category.This example shows how to integrate the report viewer and report designer into an application with Laravel framework.

First, add the Stimulsoft library dependency using the Composer manager:
composer require stimulsoft/reports-php

Next, add Stimulsoft service provider to app.php file:
Stimulsoft\Laravel\StiServiceProvider::class

Then, add the Blade component template to the application resources, for example:
viewer.blade.php

After, add a component controller and set the necessary methods for event handling in it, for example:
HandlerController.php

Finally, 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']);
Everything is ready, you can launch the application and work with Stimulsoft reports.
Hi. Need any help?