PHP code example of asavenkov / laravel-pachca-logger

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

    

asavenkov / laravel-pachca-logger example snippets


'channels' => [
    'pachca' => [
        'driver' => 'custom',
        'via' => SavenkovDev\PachcaLogger\PachcaLogger::class,
        'webhook' => env('LOG_PACHCA_WEBHOOK_URL'),
        'level' => env('LOG_LEVEL', 'debug'),
        'maxDepth' => env('LOG_PACHCA_MAX_DEPTH', 2),
    ],
],
bash
php artisan config:clear