PHP code example of slgo99 / laravel-error-report

1. Go to this page and download the library: Download slgo99/laravel-error-report 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/ */

    

slgo99 / laravel-error-report example snippets


return [
    App\Providers\AppServiceProvider::class,
    // ...
    Slgo99\LaravelErrorReport\ServiceProvider::class,
];

'providers' => [
    // ...
    Slgo99\LaravelErrorReport\ServiceProvider::class,
],

return [
    /**
     * Enable or disable the error report
     */
    'enabled' => env('ERROR_REPORT_ENABLED', false),

    /**
     * The emails to send the error report
     */
    'emails' => env('ERROR_REPORT_EMAILS', ''),
];
bash
php artisan vendor:publish --provider="Slgo99\LaravelErrorReport\ServiceProvider" --tag="config"