PHP code example of use-kadee / flare-adapter

1. Go to this page and download the library: Download use-kadee/flare-adapter 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/ */

    

use-kadee / flare-adapter example snippets


->withExceptions(function (Exceptions $exceptions) {
    \Spatie\LaravelFlare\Facades\Flare::handles($exceptions);
})->create();

return [
    'project' => env('KADEE_PROJECT'),
    'key' => env('KADEE_KEY'),
    'endpoint' => env('KADEE_ENDPOINT', 'https://usekadee.com/api/ingest'),
    'timeout' => env('KADEE_TIMEOUT', 5),
];
bash
php artisan vendor:publish --tag=kadee-config