PHP code example of sz4h / stimulsoft

1. Go to this page and download the library: Download sz4h/stimulsoft library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sz4h / stimulsoft example snippets




// config for Space/Stimulsoft
return [
    // Key or file for the license
    'license' => [
        'key' => env('STIMULSOFT_KEY',null),
        /*
         * Example: license.key
         */
        'file' => env('STIMULSOFT_FILE',null),
    ],

    'viewer' => [
        'options' => [
            /*
             * More at https://www.stimulsoft.com/en/documentation/online/programming-manual/index.html?reports_and_dashboards_for_php_settings.htm
             */
            // Enable full screen mode
            'fullScreenMode' => true,
            // Enable Scrollbar mode
            'scrollbarsMode' => true,
            // Height for non-fullscreen mode
            'height' => '600px',
        ]
    ]
];


return Space\Stimulsoft\Facades\Stimulsoft::make()
    ->setTemplate('reports/SimpleList.mrt')
    ->view();
bash
php artisan vendor:publish --tag="stimulsoft-assets"
bash
php artisan vendor:publish --tag="stimulsoft-config"
bash
php artisan vendor:publish --tag="stimulsoft-views"