Thumbnail
PHP Debug Bar for Concrete CMS

Developed by

Intermediate
Intermediate
Version 9 Ready!
Your add-on is really helpful, thank you very much! All development and debug data in one place

dbleisch

This is a package to integrate PHP Debug Bar with Concrete CMS.

You can see profiling data like database queries, memory usage, etc.

How to use

  1. Install add-on
  2. Go to [Dashboard > System & Settings > Permissions & Access > Task Permissions] page. Attach "Show Debug Bar" permission to users who want to see debug bar.

Recommendation 

This is a debug tool. You should not enable it on your production website. It may slow down your site or block some editing interface. I recommend you to enable this tool only for your account, only when you want to debug something.

Tabs

Messages

You can add messages to this tab using compatible usage with PSR-3 logger.

app('debugbar/messages')->info('hello world');
app('debugbar/messages')->info($object);

Timeline

Timeline Tab

You can check a timeline within the runtime. You can also add log the execution time of a particular operation.

app('debugbar/time')->startMeasure('longop', 'My long operation');
sleep(2);
app('debugbar/time')->stopMeasure('longop');

Request

Request Tab

You can check how Concrete retrieve request data in this tab.

Session

Session Tab

You can check values stored in the current session.

Database

You can check all sql queries on current request in this tab.

Database Tab

Logs

Logs Tab

You can check application logs (same as dashboard/reports/logs but you can quick access!).

Environment

Environment Tab

Get some information about the server/application environment.

How to add your custom collector

$app->make('director')->addListener('on_before_dispatch', function () use ($app) {
    $app->make('debugbar')->addCollector(new CustomCollector());
});

Please check the official documentation if you want to implement a custom collectors.

License

This package is published under the MIT license. Please feel free to make a pull request if you have some bugs or feature requests.

https://github.com/MacareuxDigital/concretecms_debugbar

Current Version: 1.0.0
Fully Translatable: Yes
Needs External Libraries: No
Compatible 9.0.0+
License: MIT
Support Response: Replies to tickets every few days.
Support Hosted: On marketplace.concretecms.com
Needs extra server permissions: No
Needs Internet: No
Marketplace Tests:
Passed Automated Tests
Passed PRB Review