PHPackages                             phalcon-tools/debugger - 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. phalcon-tools/debugger

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

phalcon-tools/debugger
======================

Phalcon Debug toolbar

1.0.3(10y ago)39291MITHTMLPHP &gt;=5.5.0

Since Apr 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/andrefigueira/phalcon2-debug-widget)[ Packagist](https://packagist.org/packages/phalcon-tools/debugger)[ RSS](/packages/phalcon-tools-debugger/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

Phalcon Debug Widget
--------------------

[](#phalcon-debug-widget)

### Requirements

[](#requirements)

- PHP: v5.5.0+
- Phalcon: v2.0+

### Installation

[](#installation)

Include it in your `composer.json` file

```
{
	"require-dev": {
    	"phalcon-tools/debugger": "dev-master"
	}
}

```

### Usage and Configuration

[](#usage-and-configuration)

Define a debug or environment flag in your application bootstrap file so you can easily disable the Phalcon Debug Widget on production environments. e.g.

```
define('PHALCON_DEBUG', true);

```

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

```
if (PHALCON_DEBUG == true) {
    $debugWidget = new \Phalcon\Debug\DebugWidget($di);
}

```

That's it! The Phalcon debug widget should appear along the bottom of your application!

### How it works

[](#how-it-works)

The debug widget for now is very simplistic, however can be useful. It expects you have three services in your dependency injector named:

- db
- dispatcher
- view

It expects these services to match the Phalcon services of the same name.

When you pass the DI to Phalcon Debug Widget It looks for those specific services and does the following:

- 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.

### Preview

[](#preview)

Preview of the available debug panels

#### Server View

[](#server-view)

[![](https://camo.githubusercontent.com/6636a0d5dba2a4ac340f6e4df8c297ef6e17eed486938178e09a09cba8ffa431/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f314c3243314131573254334d30523179343531712f5345525645522e706e67)](https://camo.githubusercontent.com/6636a0d5dba2a4ac340f6e4df8c297ef6e17eed486938178e09a09cba8ffa431/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f314c3243314131573254334d30523179343531712f5345525645522e706e67)

#### Views View

[](#views-view)

[![](https://camo.githubusercontent.com/85c1589ad7972190ce6fb910e830107fbcdeaee3d779ad03246eeaf07dd408e6/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f3338336c3038317533543263317a3344333933412f56494557532e706e67)](https://camo.githubusercontent.com/85c1589ad7972190ce6fb910e830107fbcdeaee3d779ad03246eeaf07dd408e6/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f3338336c3038317533543263317a3344333933412f56494557532e706e67)

#### Database View

[](#database-view)

[![](https://camo.githubusercontent.com/ac23b3828e7bf587c57efc32b6b2adb07a6cf72dd8d5ff27863610903416cbc7/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f3253334e336c31503050314b335331343264304c2f44415441424153452e706e67)](https://camo.githubusercontent.com/ac23b3828e7bf587c57efc32b6b2adb07a6cf72dd8d5ff27863610903416cbc7/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f3253334e336c31503050314b335331343264304c2f44415441424153452e706e67)

#### Request View

[](#request-view)

[![](https://camo.githubusercontent.com/bc9a82614461660ef7ecae337c940a28b3161300f1ab46af0c04122006d501bb/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f33553344314b326a326e3153334132593365304b2f524551554553542e706e67)](https://camo.githubusercontent.com/bc9a82614461660ef7ecae337c940a28b3161300f1ab46af0c04122006d501bb/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f33553344314b326a326e3153334132593365304b2f524551554553542e706e67)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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 ~16 days

Recently: every ~2 days

Total

10

Last Release

3935d ago

Major Versions

0.0.6 → 1.0.02015-09-14

PHP version history (3 changes)0.0.1PHP &gt;=5.3.0

0.0.3PHP &gt;=5.6.0

0.0.5PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a901aad2498f1239d81fe941bceb28b474885501b0bb92509c810aaacad1227?d=identicon)[andre](/maintainers/andre)

---

Top Contributors

[![andrefigueira](https://avatars.githubusercontent.com/u/806006?v=4)](https://github.com/andrefigueira "andrefigueira (42 commits)")[![Zazza](https://avatars.githubusercontent.com/u/722091?v=4)](https://github.com/Zazza "Zazza (14 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/phalcon-tools-debugger/health.svg)

```
[![Health](https://phpackages.com/badges/phalcon-tools-debugger/health.svg)](https://phpackages.com/packages/phalcon-tools-debugger)
```

###  Alternatives

[clawrock/magento2-debug

Magento 2 debug module based on Magento 1 Profiler with some extra features.

8522.2k1](/packages/clawrock-magento2-debug)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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