PHP code example of cerealkiller / error-logger-laravel-sdk

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

    

cerealkiller / error-logger-laravel-sdk example snippets


'channels' => [
    'errorlogger' => [
        'driver' => 'errorlogger',
    ],
],

'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'errorlogger'],
    ],
],

@

throw new \Exception('Testing my application!');
bash
php artisan vendor:publish --provider="ErrorLogger\ErrorLoggerServiceProvider"
shell script
php artisan errorlogger:test