milankyncl / phalcon-debugbar
Phalcon Debugbar for Phalcon 3.x.x
v1.2
2018-02-15 15:54 UTC
Requires
- php: >=5.3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-10 05:45:49 UTC
README
Phalcon Debugbar for PHP Phalcon 3.x.x. You can view 4 standard panels right now - execution timer, view renderering status, database profiler and router result. You can optionally enable specific remote addresses, so you can view debugbar even in production mode.
Installation
- Include packagist repository into your project.
composer require milankyncl/phalcon-debugbar
- Include this snippet into your bootstrap file, just before creating Application instance. Enable specific remote addresses.
$phalconDebugbar = new \MilanKyncl\Debugbar\PhalconDebugbar(); // Your remote addresses or just bool (true|false) $phalconDebugbar->setDebugMode([ '127.0.0.1', '::1' ]); // listen to services $phalconDebugbar->listen();
- That's the magic!
Enjoy.