PHP code example of dongww / silex-debugbar

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

    

dongww / silex-debugbar example snippets


use Silex\Application;
use Dongww\Silex\Provider\DebugBarServiceProvider;

']) {
    $app->register(new DebugBarServiceProvider(), [
//        'debug_bar.auto_res' => false, //Optional, default is true
//        'debug_bar.path'      => '/debugbar', //Optional, default is null.
    ]);