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

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

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

PHP Debug Bar module for Zend Framework 2

1.0.0(8y ago)3026.1k↓50%12[3 PRs](https://github.com/snapshotpl/ZfSnapPhpDebugBar/pulls)PHPPHP ^5.6 || ^7.0

Since Mar 13Pushed 5y ago3 watchersCompare

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

READMEChangelog (10)Dependencies (14)Versions (15)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

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 64.2% 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 ~137 days

Recently: every ~131 days

Total

11

Last Release

3062d ago

Major Versions

0.13.0 → 1.0.02017-12-20

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

0.12.0PHP ^5.5 || ^7.0

1.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/93a2113828a101b473d256ef12e6bd89d67bcbef0621704cfeb3304c98a16a47?d=identicon)[snapshotpl](/maintainers/snapshotpl)

---

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)")[![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/snapshotpl-zf-snap-php-debug-bar/health.svg)

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

###  Alternatives

[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.9k6](/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)[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)

PHPackages © 2026

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