winter / wn-debugbar-plugin
DebugBar integration for Winter CMS.
Fund package maintenance!
wintercms
Open Collective
Installs: 14 830
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 5
Open Issues: 3
Language:Less
Type:winter-plugin
Requires
- php: >=7.0
- barryvdh/laravel-debugbar: ^3.10.3
- composer/installers: ~1.0
Replaces
- rainlab/debugbar-plugin: >=1.0.5
README
Easily see what's going on under the hood of your Winter CMS applications. Integrates Laravel DebugBar / PHP DebugBar into Winter CMS.
Installation
This plugin is available for installation via Composer.
composer require --dev winter/wn-debugbar-plugin
After installing the plugin you will need to run the migrations and (if you are using a public folder) republish your public directory.
php artisan migrate
Usage
Set debug
to true
in config/app.php
and the debugbar should appear on your site to all authenticated backend users with the winter.debugbar.access_debugbar
permission.
If you would like to make the debug bar accessible to all users, regardless of authentication and permissions, set allow_public_access
to true
in the configuration file.
See barryvdh/laravel-debugbar for more usage instructions and documentation.
Configuration
All configuration for the plugin is found in the plugins/winter/debugbar
directory. To override any of these settings, create an override file called config/winter/debugbar/config.php
in your local system.
To include exceptions in the response header of AJAX calls, set debugAjax
to true
in config/app.php
.
Events are not captured by default since it can slow down the front-end when many events are fired, you may enable it with the collectors.events
setting.