PHP code example of dennissmink / lara-bug

1. Go to this page and download the library: Download dennissmink/lara-bug 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/ */

    

dennissmink / lara-bug example snippets


    $app->withFacades();
    

    $app->configure('larabug');
    

    $app->register(LaraBug\ServiceProvider::class);
    

'channels' => [
    // ...
    'larabug' => [
        'driver' => 'larabug',
    ],
],

'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'larabug'],
    ],
    //...
],
bash
php artisan vendor:publish --provider="LaraBug\ServiceProvider"
bash
php -r "file_exists('config/') || mkdir('config/'); copy('vendor/larabug/larabug/config/larabug.php', 'config/larabug.php');"
bash
php -r "file_exists('config/') || mkdir('config/'); copy('vendor/laravel/lumen-framework/config/logging.php', 'config/logging.php');"