Download the PHP package treast/kirby-debugbar without Composer
On this page you can find all versions of the php package treast/kirby-debugbar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package kirby-debugbar
PHP Debug Bar for KirbyCMS
✨ Features
- Integration of PHP Debug Bar
- Easy log messages
- Preview configuration, hooks called, files, page variables, requests & exceptions
- More soon 👀 ...
🔌 Installation
⚠️ This plugin uses the Symfony VarDumper package, which conflicts with the KirbyCMS dump function. To use this plugin, you must imperatively change the index.php
file at the root by this content:
Composer (highly recommended)
composer require treast/kirby-debugbar
Git submodule
git submodule add https://github.com/Treast/kirby-debugbar.git site/plugins/debugbar
Manual
Download this zip and unzip it in site/plugins/debugbar
.
💻 Usage
Add this snippet at the bottom of your footer & enjoy !
<?= snippet('debugbar') ?>
How to log ?
Options
Explanations
Option name | Default | Type | Description |
---|---|---|---|
treast.debugbar.force |
false |
boolean |
If enabled, will display the debug bar even with debug === false |
treast.debugbar.tabs.logs |
true |
boolean |
Show logs tab |
treast.debugbar.tabs.config |
true |
boolean |
Show config tab |
treast.debugbar.tabs.events |
true |
boolean |
Show events tab |
treast.debugbar.tabs.files |
true |
boolean |
Show files tab |
treast.debugbar.tabs.variables |
true |
boolean |
Show variables tab |
treast.debugbar.tabs.request |
true |
boolean |
Show request tab |
treast.debugbar.tabs.exception |
true |
boolean |
Show exceptions tab |
config.php
To Do
Only activate plugin whendebug === true
- Refactoring 😮💨
💡 I would like XXX but it's not yet available?
Go to the issues and submit your idea. If it's relevant, I might add it 🫶.
❤️Special Thanks
- To @maximebf for the base package php-debugbar.
- To @barryvdh for his implementation on Laravel.
- To @genxbe for his chaining methods on his plugin.
⚠️Warning
Please note that this plugin is provided as is, without any express or implied warranty of operation. By using this plugin, you agree to do so at your own risk. I am not responsible for any direct or indirect damage resulting from the use of this plugin, including loss of data, operating errors, service interruptions, or any other consequence related to the use of this plugin.