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.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.