Package Data | |
---|---|
Maintainer Username: | Madthumb |
Maintainer Contact: | var.tonylee@gmail.com (Tony Lee) |
Package Create Date: | 2016-04-08 |
Package Last Update: | 2016-04-09 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:11:57 |
Package Statistics | |
---|---|
Total Downloads: | 3,943 |
Monthly Downloads: | 6 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 1 |
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.
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.
It also provides a Facade interface for easy logging Messages, Exceptions and Time
Require this package with composer:
composer require maxtrunk/lumen-debugbar --dev
After updating composer, add the ServiceProvider to the bootstrap/app.php
if (env('APP_DEBUG')) {
$app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
}
To change the configuration, copy the file to your config folder and enable it:
$app->configure('debugbar');
That's it!