PHP code example of apxcde / laravel-telltale

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

    

apxcde / laravel-telltale example snippets


  'collects' => \Apxcde\LaravelTelltale\TelltaleConfig::defaultCollects(
      extra: [
          \Spatie\FlareClient\Enums\CollectType::Queries->value => ['

use Apxcde\LaravelTelltale\Facades\Telltale;

->withExceptions(function (Exceptions $exceptions) {
    Telltale::handles($exceptions);
})

'telltale' => [
    'driver' => 'telltale',
],
bash
php artisan vendor:publish --tag=telltale-config
bash
php artisan telltale:test --errors --logs --traces