PHP code example of jaguarsoft / laravel-debugbar

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

    

jaguarsoft / laravel-debugbar example snippets


'providers' => [   
    /** **/ 
    // Barryvdh\Debugbar\ServiceProvider::class,
    JaguarSoft\LaravelDebugbar\Provider\DebugbarServiceProvider::class,
],
'aliases' => [
    /** **/
    'Debugbar' => Barryvdh\Debugbar\Facade::class,
],

public function handle($request, Closure $next){
    if(/* your validation*/){
        \Debugbar::enable();
    }
    return $next($request);
}
ini
DEBUGBAR_ENABLED=true
ini
DEBUGBAR_ENABLED=false
ini
DEBUGBAR_ENABLED=null