renat-magadiev / zf3-bar-logger
Tracy dumper as logger to Zend Developer Tools in ZF3 Framework
Installs: 1 935
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:module
Requires
- php: ^5.5.9 || ^7.0
- tracy/tracy: 2.4.*
- zendframework/zend-developer-tools: 1.1.*
- zendframework/zend-mvc: 3.0.*
This package is not auto-updated.
Last update: 2024-10-27 02:49:19 UTC
README
integrated Tracy Dumper from Nette framework in Zend Framework 3 Developer Tools
BarLogger is collector to zend developer tools bar some data do dump.
Module installation
-
cd my/project/directory
-
create a
composer.json
file with following contents:{ "require": { "renat-magadiev/zf3-bar-logger": "^1.0" } }
-
install composer via
curl -s http://getcomposer.org/installer | php
(on windows, download http://getcomposer.org/installer and execute it with PHP) -
run
php composer.phar install
-
open
my/project/directory/configs/modules.config.php
and add the following key :'BarLogger',
Features
Dump data to Zend Developer Tools
Usage :
You can use \BarLogger\Collector\DebugCollector::barDump
to dump data to bar
\BarLogger\Collector\DebugCollector::barDump($var, $title, $options);
There is also a shortcut via global function loaded by composer so you can call anywhere:
barDump($var, $title, $options);
License
renat-magadiev/zf3-bar-logger is licensed under the MIT License - See the LICENSE file for details.