Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.33 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.33 KB

Phalcon Debugbar

Build Status Total Downloads Latest Stable Version License

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

  1. Include packagist repository into your project.
composer require milankyncl/phalcon-debugbar
  1. 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();
  1. That's the magic!

Enjoy.