2017 © Pedro Peláez
 

yii2-extension yii2-firephp-query-profiler

profile db queries using firephp

image

alextar/yii2-firephp-query-profiler

profile db queries using firephp

  • Wednesday, April 8, 2015
  • by alextar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,269 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-firephp

FirePHP log target for YII2, (*1)

If it does not work, try adding "ob_start ()" in index.php, (*2)

Usage

composer.json, (*3)

"require": {
        "codeexpert/yii2-firephp": "0.1.*@dev"
},

config file:, (*4)

$config = [
    'components' => [
        'log' => [
            'targets' => [
                'firephp' => [
                    'class' => 'codeexpert\log\FirePHPTarget',
                ]
            ],
        ],
    ],
];

anywhere:, (*5)

\Yii::info('Hello, I am info message', 'test1');
\Yii::warning('Hello, I am warning message', 'test2');
\Yii::error('Hello, I am error message', 'test3');
\Yii::info(array('a'=>'b', 'c'=>'d'), 'array test');

The Versions

08/04 2015

dev-master

9999999-dev

profile db queries using firephp

  Sources   Download

MIT

The Requires

 

by Alex Tarasenko

log profile logging yii2 yii profiling firebug firephp