beanbean / laravel-debugbar-middleware
A simple laravel middleware for toggle debugbar
0.1.0
2020-02-12 09:51 UTC
Requires
- php: >=7.0
- barryvdh/laravel-debugbar: ^3.2
This package is auto-updated.
Last update: 2025-03-12 20:58:29 UTC
README
A simple laravel middleware for toggle debugbar
Installation
Require this package with composer.
composer require beanbean/laravel-debugbar-middleware
Since Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Usage
The Debugbar will be enabled when APP_DEBUG
is true
and be toggled use request param.
Enable by access key in config or .env
?debugbar_enable=<your access key>
Disable
?debugbar_disable