Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renat-magadiev/zf3-bar-logger
Tracy dumper as logger to Zend Developer Tools in ZF3 Framework
https://github.com/renat-magadiev/zf3-bar-logger
php tracy zend-developer-tools zf3
Last synced: 29 days ago
JSON representation
Tracy dumper as logger to Zend Developer Tools in ZF3 Framework
- Host: GitHub
- URL: https://github.com/renat-magadiev/zf3-bar-logger
- Owner: renat-magadiev
- License: mit
- Created: 2017-03-19T10:26:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T13:01:59.000Z (almost 8 years ago)
- Last Synced: 2024-11-22T17:33:56.433Z (about 1 month ago)
- Topics: php, tracy, zend-developer-tools, zf3
- Language: PHP
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ZF3-BarLogger
=============[![Latest Stable Version](https://poser.pugx.org/renat-magadiev/zf3-bar-logger/v/stable?format=flat-square)](https://packagist.org/packages/renat-magadiev/zf3-bar-logger) [![License](https://poser.pugx.org/renat-magadiev/zf3-bar-logger/license?format=flat-square)](https://packagist.org/packages/renat-magadiev/zf3-bar-logger)
integrated **[Tracy Dumper](https://github.com/nette/tracy)** from **[Nette framework](https://nette.org/)** 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:```json
{
"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 :```php
'BarLogger',
```Features
========### Dump data to Zend Developer Tools
##### Usage :
You can use `\BarLogger\Collector\DebugCollector::barDump` to dump data to bar
```php
\BarLogger\Collector\DebugCollector::barDump($var, $title, $options);
```There is also a shortcut via global function loaded by composer so you can call anywhere:
```php
barDump($var, $title, $options);
```License
=======**renat-magadiev/zf3-bar-logger** is licensed under the MIT License - See the [LICENSE](LICENSE.md) file for details.