PHP code example of wujunze / laravel-debug-helper

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

    

wujunze / laravel-debug-helper example snippets

   
 composer 

public function register()
{
    if ($this->app['config']->get('app.debug')) {
        $this->app->register(WuJunze\LaravelDebugHelper\Providers\ServiceProvider::class);
    }
}

php artisan vendor:publish --provider="WuJunze\LaravelDebugHelper\Providers\ServiceProvider"

php artisan vendor:publish