PHP Debug Bar module for Zend Framework 2 & 3
Created by Witold Wasiczko
composer
!The preferred way to install this extension is through composer.
Either run
php composer require --dev snapshotpl/zf-snap-php-debug-bar
Add module ZfSnapPhpDebugBar
to application.config.php
.
return [ 'modules' => [ 'ZfSnapPhpDebugBar', ], ];
By function:
debugbar_log('ZfSnapPhpDebugBar is awesome!');
By static method:
ZfSnapPhpDebugBar\Module::log('ZfSnapPhpDebugBar is awesome!');
By Zend\Log
:
$writer = $sm->get(ZfSnapPhpDebugBar\Log\Writer\PhpDebugBar::class); $log = new Zend\Log\Logger(); $log->addWriter($writer); $log->info('ZfSnapPhpDebugBar is awesome!');
Directly by DebugBar object from ServiceManager:
$debugbar = $sm->get('debugbar'); $debugbar['messages']->addMessage('ZfSnapPhpDebugBar is awesome!'));
Look at config/zfsnapphpdebugbar.config.php
file
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4