PHPackages                             graef685/zf-snap-php-debug-bar - 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. graef685/zf-snap-php-debug-bar

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

graef685/zf-snap-php-debug-bar
==============================

PHP Debug Bar module for Zend Framework 2

2.0.2(4y ago)014PHPPHP ^5.6 || ^7.0 || ^8

Since Mar 13Pushed 4y agoCompare

[ Source](https://github.com/graef685/ZfSnapPhpDebugBar)[ Packagist](https://packagist.org/packages/graef685/zf-snap-php-debug-bar)[ RSS](/packages/graef685-zf-snap-php-debug-bar/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (14)Versions (18)Used By (0)

ZfSnapPhpDebugBar [![Build Status](https://camo.githubusercontent.com/54005edceed3ed566b679a37acd6a2677033fee9dcb078e9dd8d44a8746339d0/68747470733a2f2f7472617669732d63692e6f72672f736e617073686f74706c2f5a66536e617050687044656275674261722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/snapshotpl/ZfSnapPhpDebugBar)
=====================================================================================================================================================================================================================================================================================================================================

[](#zfsnapphpdebugbar-)

PHP Debug Bar module for Zend Framework 2 &amp; 3

Created by Witold Wasiczko

[![PHP Debug Bar Messages](docs/img/demo.gif)](docs/img/demo.gif)

Features
--------

[](#features)

- All [PHP Debug Bar](http://phpdebugbar.com/) features + additional info about Zend Framework application:
    - Log and debug directly to Debug Bar,
    - Check request variables ($\_POST, $\_GET, $\_SERVER, $\_COOKIE),
    - Use timeline to see time between common events,
    - Catch exceptions,
    - Preview config and application config,
    - Profile SQL queries,
    - Details about current route,
    - Memory usage,
    - Total request duration,
    - Custom debug bar view,
    - and [more](http://phpdebugbar.com/)...!
- Ready to use - just install via `composer`!
- easy configurable via module config,

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer require --dev snapshotpl/zf-snap-php-debug-bar
```

Usage
-----

[](#usage)

Add module `ZfSnapPhpDebugBar` to `application.config.php`.

```
return [
    'modules' => [
        'ZfSnapPhpDebugBar',
    ],
];
```

How to use `Message` tab
------------------------

[](#how-to-use-message-tab)

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!'));
```

How to config
-------------

[](#how-to-config)

Look at `config/zfsnapphpdebugbar.config.php` file

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55.7% 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 ~208 days

Recently: every ~436 days

Total

14

Last Release

1744d ago

Major Versions

0.13.0 → 1.0.02017-12-20

1.0.0 → 2.0.02021-08-06

PHP version history (4 changes)0.0.9PHP &gt;=5.3.3

0.12.0PHP ^5.5 || ^7.0

1.0.0PHP ^5.6 || ^7.0

2.0.0PHP ^5.6 || ^7.0 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/fcd4863ce615c93b590d9e7d880673c2a8e3535aa3fe9a6b55c5e6f4cefff48c?d=identicon)[graef685](/maintainers/graef685)

---

Top Contributors

[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (34 commits)")[![bupy7](https://avatars.githubusercontent.com/u/5145037?v=4)](https://github.com/bupy7 "bupy7 (18 commits)")[![graef685](https://avatars.githubusercontent.com/u/6736487?v=4)](https://github.com/graef685 "graef685 (8 commits)")[![laytoneverson](https://avatars.githubusercontent.com/u/1046148?v=4)](https://github.com/laytoneverson "laytoneverson (1 commits)")

---

Tags

logdebugdebugbarexceptionloggerzf2zend framework 2Zend Framework

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/graef685-zf-snap-php-debug-bar/health.svg)

```
[![Health](https://phpackages.com/badges/graef685-zf-snap-php-debug-bar/health.svg)](https://phpackages.com/packages/graef685-zf-snap-php-debug-bar)
```

###  Alternatives

[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)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19372.5k](/packages/facile-it-sentry-module)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

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