PHPackages                             zazza/phalcon-debug-widget - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. zazza/phalcon-debug-widget

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

zazza/phalcon-debug-widget
==========================

Phalcon debug toolbar

v0.1.1(11y ago)31.1kMITHTMLPHP &gt;=5.3.0

Since Nov 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Zazza/phalcon-debug-widget)[ Packagist](https://packagist.org/packages/zazza/phalcon-debug-widget)[ RSS](/packages/zazza-phalcon-debug-widget/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Phalcon Debug Widget (PDW) (forked from [jymboche/phalcon-debug-widget](https://github.com/jymboche/phalcon-debug-widget))
==========================================================================================================================

[](#phalcon-debug-widget-pdw-forked-from-jymbochephalcon-debug-widget)

[Phalcon2 PDW](https://github.com/Zazza/phalcon2-debug-widget)

Changelog:
==========

[](#changelog)

- it isn't necessary to move assets(/pdw-assets/) to public dir
- jquery dependence is removed
- the sections: Server, Views, Database hide and show by click

Note (How it works):
====================

[](#note-how-it-works)

The debug widget for now is very simplistic and more of a proof-of-concept. It expects you have three services in your dependency injector named "db", "dispatcher" and "view" and that they correspond to those services. When you pass the DI to Phalcon Debug Widget It looks for those specific services and:

- sets them as shared services
- sets the eventManager for them
- Attaches itself to those events

This means passing the DI to the debug widget will alter those services. Generally speaking, a shared db, dispatcher, and view is fine. If you have ideas for other ways to hook in, please open an issue for discussion.

The Phalcon Debug Widget is designed to make development easier by displaying debugging information directly in your browser window. Currently it displays php globals such as $\_SESSION as well as outputing resource usage and database queries and connection information. It includes syntax highlighting via [Prismjs.com](http://prismjs.com/).

If it looks familiar, its because its modeled after the [Yii debug toolbar](https://github.com/malyshev/yii-debug-toolbar)

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

[](#installation)

composer.json:

```
"zazza/phalcon-debug-widget": "dev-master"

```

Usage and Configuration
-----------------------

[](#usage-and-configuration)

Define a debug or environment flag in your main index.php file so you can easily disable the Phalcon Debug Widget on production environments. Example:

```
defined('PHALCONDEBUG') || define('PHALCONDEBUG', true);
```

After you have setup your \\Phalcon\\Loader and \\Phalcon\\DI\\FactoryDefault() create a new instance of the debug widget.

```
if (PHALCONDEBUG == true) {
	$debugWidget = new \PDW\DebugWidget($di);
}
```

Preview
-------

[](#preview)

[![](/preview.png)](/preview.png)

Attribution:
------------

[](#attribution)

Bug Icon designed by [Nithin Viswanathan](http://thenounproject.com/nsteve) from the [Noun Project](http://thenounproject.com)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~0 days

Total

2

Last Release

4240d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/722091?v=4)[Zazza](/maintainers/Zazza)[@Zazza](https://github.com/Zazza)

---

Top Contributors

[![Zazza](https://avatars.githubusercontent.com/u/722091?v=4)](https://github.com/Zazza "Zazza (18 commits)")[![jymboche](https://avatars.githubusercontent.com/u/241406?v=4)](https://github.com/jymboche "jymboche (7 commits)")[![ogarbe](https://avatars.githubusercontent.com/u/1395245?v=4)](https://github.com/ogarbe "ogarbe (2 commits)")[![at15](https://avatars.githubusercontent.com/u/5621298?v=4)](https://github.com/at15 "at15 (1 commits)")

### Embed Badge

![Health badge](/badges/zazza-phalcon-debug-widget/health.svg)

```
[![Health](https://phpackages.com/badges/zazza-phalcon-debug-widget/health.svg)](https://phpackages.com/packages/zazza-phalcon-debug-widget)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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