dev-master
9999999-devPHP Debugbar integration for Lumen
MIT
The Development Requires
by Tony Lee
debug lumen debugbar
Wallogit.com
2017 © Pedro Peláez
PHP Debugbar integration for Lumen
This is a package to integrate PHP Debug Bar with Lumen. It includes a ServiceProvider to register the debugbar and attach it to the output. You can publish assets and configure it through Lumen. Read the documentation for more configuration options., (*2)
Note: Use the DebugBar only in development. It can slow the application down (because it has to gather data). So when experiencing slowness, try disabling some of the collectors., (*3)
It also provides a Facade interface for easy logging Messages, Exceptions and Time, (*4)
Require this package with composer:, (*5)
composer require maxtrunk/lumen-debugbar --dev
After updating composer, add the ServiceProvider to the bootstrap/app.php, (*6)
if (env('APP_DEBUG')) {
$app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
}
To change the configuration, copy the file to your config folder and enable it:, (*7)
$app->configure('debugbar');
That's it!, (*8)
PHP Debugbar integration for Lumen
MIT
debug lumen debugbar