Skip to content

Tracy dumper as logger to Zend Developer Tools in ZF3 Framework

License

Notifications You must be signed in to change notification settings

jkeiski/zf3-bar-logger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZF3-BarLogger

Latest Stable Version License

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

  1. cd my/project/directory

  2. create a composer.json file with following contents:

    {
        "require": {
            "renat-magadiev/zf3-bar-logger": "^1.0"
        }
    }
  3. install composer via curl -s http://getcomposer.org/installer | php (on windows, download http://getcomposer.org/installer and execute it with PHP)

  4. run php composer.phar install

  5. 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.

About

Tracy dumper as logger to Zend Developer Tools in ZF3 Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 55.3%
  • HTML 44.7%