milankyncl/phalcon-debugbar

Phalcon Debugbar for Phalcon 3.x.x

v1.2 2018-02-15 15:54 UTC

This package is not auto-updated.

Last update: 2024-11-10 05:45:49 UTC


README

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.