PHPackages                             jhuet/zdt-logger-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. jhuet/zdt-logger-module

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

jhuet/zdt-logger-module
=======================

A ZF3 module to log data using Zend\\Log and write them to ZendDeveloperTools toolbar.

1.0.0(9y ago)1765.6k54MITPHP

Since Feb 3Pushed 9y agoCompare

[ Source](https://github.com/jhuet/JhuZdtLoggerModule)[ Packagist](https://packagist.org/packages/jhuet/zdt-logger-module)[ Docs](https://github.com/jhuet/JhuZdtLoggerModule)[ RSS](/packages/jhuet-zdt-logger-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (4)

JhuZdtLoggerModule
==================

[](#jhuzdtloggermodule)

A ZF3 module to log data using [Zend\\Log](http://framework.zend.com/manual/2.1/en/modules/zend.log.overview.html) and write them to [ZendDeveloperTools](https://github.com/zendframework/ZendDeveloperTools) toolbar. If you already have a logger in your application (that is an instance of `Zend\Log\Logger`) it will integrate well with it so you still will only have to use your logger.

---

Installation
============

[](#installation)

The easiest way is by using [composer](http://getcomposer.org). Just add `"jhuet/zdt-logger-module": "dev-master"` (or `"jhuet/zdt-logger-module": "0.3"` for last stable version) as a requirement in your `composer.json` file and it will be automatically downloaded next time you do `composer.phar update`.

If you don't use composer, drop the files of [this archive](https://github.com/jhuet/JhuZdtLoggerModule/archive/master.zip) ([0.3 here](https://github.com/jhuet/JhuZdtLoggerModule/archive/0.3.zip)) in your `module` directory.

Then, add `Jhu\ZdtLoggerModule` in the list of activated modules of your `application.config.php` file.

Options
=======

[](#options)

Configuration options are available in [`config/jhu-zdt-logger.global.php.dist`](https://github.com/jhuet/JhuZdtLoggerModule/blob/master/config/jhu-zdt-logger.global.php.dist) file. If you want to change the default ones, copy it in your `config/autoload` directory, remove the `.dist` extension and edit it.

Options available :

- `logger` : This module will by default create a `Zend\Log\Logger` and add a writer to it. If you already have a logger in your application, you can set it here so it will be used instead of creating a new one. The logger you'll set here has to be available thru the service manager.

Usage
=====

[](#usage)

If you don't already have a logger in your application, you may refere to this one any time you need to via the service manager with the `jhu.zdt_logger` key. Assuming `$sm` is the service maanger, you could call `$sm->get('jhu.zdt_logger')->info('my log');` [to log](http://framework.zend.com/manual/2.1/en/modules/zend.log.overview.html#logging-messages) with the `INFO` priority.

If you already have a logger in your application and you have set it in the [options](#options), you just have to use your regular logger as you normally would and anything logged will be added to the ZendDeveloperTools toolbar.

Picture
=======

[](#picture)

[![usage example](https://camo.githubusercontent.com/98e932b6d915a1cb6cbf94a266218cc1900cf6a4e21ac9dc47e9dd34ad383b95/687474703a2f2f6935302e74696e797069632e636f6d2f357a7131692e706e67)](https://camo.githubusercontent.com/98e932b6d915a1cb6cbf94a266218cc1900cf6a4e21ac9dc47e9dd34ad383b95/687474703a2f2f6935302e74696e797069632e636f6d2f357a7131692e706e67)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~423 days

Total

4

Last Release

3582d ago

Major Versions

0.3 → 1.0.02016-07-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/105dbb2dd41c3e74ef2e3ffd3fe1740c167536fcb2094cb46be446a4e90092ea?d=identicon)[jhuet](/maintainers/jhuet)

---

Top Contributors

[![jhuet](https://avatars.githubusercontent.com/u/372409?v=4)](https://github.com/jhuet "jhuet (21 commits)")[![MatthiasKuehneEllerhold](https://avatars.githubusercontent.com/u/19988979?v=4)](https://github.com/MatthiasKuehneEllerhold "MatthiasKuehneEllerhold (3 commits)")[![ddetyuk](https://avatars.githubusercontent.com/u/1244251?v=4)](https://github.com/ddetyuk "ddetyuk (1 commits)")[![rvanduiven](https://avatars.githubusercontent.com/u/1218061?v=4)](https://github.com/rvanduiven "rvanduiven (1 commits)")

---

Tags

logmodulezf3zdt

### Embed Badge

![Health badge](/badges/jhuet-zdt-logger-module/health.svg)

```
[![Health](https://phpackages.com/badges/jhuet-zdt-logger-module/health.svg)](https://phpackages.com/packages/jhuet-zdt-logger-module)
```

###  Alternatives

[los/loslog

LosLog provides some log utility

1751.2k2](/packages/los-loslog)[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19372.5k](/packages/facile-it-sentry-module)[zhuravljov/yii2-logreader

Yii2 Log Reader

3531.1k](/packages/zhuravljov-yii2-logreader)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)[davidhavl/dherrorlogging

Full featured error logging module for ZF2/ZF3 application

1924.5k](/packages/davidhavl-dherrorlogging)[kriss/yii2-log-reader

Yii2 log reader

1340.1k1](/packages/kriss-yii2-log-reader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
