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

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

glowieframework/debugger
========================

Glowie debug bar plugin

v1.3.2(4mo ago)051MITPHP

Since Jan 10Pushed 4mo agoCompare

[ Source](https://github.com/glowieframework/debugger)[ Packagist](https://packagist.org/packages/glowieframework/debugger)[ Docs](https://glowie.gabrielsilva.dev.br)[ RSS](/packages/glowieframework-debugger/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Debugger for Glowie
-------------------

[](#debugger-for-glowie)

Debugger is a plugin for [Glowie Framework](https://github.com/glowieframework/glowie) that provides a powerful and elegant debug bar for developers.

[![Debugger](https://camo.githubusercontent.com/66ca25f60b24fe48ab3be126ae733619de44807e0d99b778ab2832a250680416/68747470733a2f2f692e696d6775722e636f6d2f6d66637536394d2e706e67)](https://camo.githubusercontent.com/66ca25f60b24fe48ab3be126ae733619de44807e0d99b778ab2832a250680416/68747470733a2f2f692e696d6775722e636f6d2f6d66637536394d2e706e67)

Features
--------

[](#features)

- Clean and intuitive debug bar with zero configuration
- Log and filter messages, warnings, errors, and variables in a built-in console
- Capture and display exceptions with full stack traces
- Track long-running operations in a performance timeline
- Inspect Request and Response data, including headers
- View Session and Cookie information
- Log SQL queries with bindings and execution time
- Inspect rendered views, layouts, and their parameters
- Monitor application details such as routes, memory usage, software versions, request time, and more
- Automatic light and dark theme support

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

[](#installation)

Install Debugger in your Glowie project using Composer:

```
composer require glowieframework/debugger
```

Then add the Debugger class to the `plugins` array in `app/config/Config.php`:

```
'plugins' => [
    // ... other plugins here
    \Glowie\Plugins\Debugger\Debugger::class,
],
```

Next, add the Skeltch directive at the bottom of your main layout or desired view, just before the closing `` tag:

```

    { debugger }

```

If you are not using the Skeltch templating engine, you can render the debug bar using the default PHP call:

```

```

Debug mode
----------

[](#debug-mode)

**The debug bar should never be used in production.** To enable it, the `APP_DEBUG` value in your `.env` file must be set to true.

```
APP_DEBUG=true
```

**Make sure to disable this in your production environment.**

### Enabling or disabling the debug bar at runtime

[](#enabling-or-disabling-the-debug-bar-at-runtime)

You can control the debug bar rendering dynamically:

```
use Glowie\Plugins\Debugger\Debugger;

Debugger::enable();

Debugger::disable();
```

> **Note:** The `enable()` method will have no effect if debug mode is disabled in your environment configuration.

Usage
-----

[](#usage)

### Console window

[](#console-window)

Send messages to the console using the following methods:

```
use Glowie\Plugins\Debugger\Debugger;

Debugger::log('Hello world!'); // Logs an info message
// or
Debugger::info('Hello world!');

Debugger::error('Something went wrong...'); // Logs an error message

Debugger::warning('Remember to check the docs.'); // Logs a warning message

Debugger::dump($myVar); // Dumps a variable to the console
```

### Exceptions window

[](#exceptions-window)

Capture exceptions and display them in the Exceptions tab:

```
use Glowie\Plugins\Debugger\Debugger;

try {
    throw new Exception('Whoops!');
} catch (\Throwable $th) {
    Debugger::exception($th);
    throw $th; // re-throws the exception
}
```

### Timeline window

[](#timeline-window)

Measure execution time of operations:

```
use Glowie\Plugins\Debugger\Debugger;

Debugger::startTimer('test', 'My timer description');
// long operation
Debugger::stopTimer('test');

// or
Debugger::measure('test', function(){
    // long operation
});
```

### Cross-request data

[](#cross-request-data)

By default, Debugger data is stored only for the current request. Each new request clears the previous information.

To persist debug data across requests:

```
use Glowie\Plugins\Debugger\Debugger;

Debugger::startCapture();
// your Debugger calls here
Debugger::stopCapture();

// or
Debugger::capture(function(){
    // your Debugger calls here
});
```

### Clearing information

[](#clearing-information)

You can clear specific sections of the debug bar:

```
use Glowie\Plugins\Debugger\Debugger;

Debugger::clear(); // Clears the console

Debugger::clearExceptions(); // Clears exceptions

Debugger::clearTimers(); // Clears timers

Debugger::clearQueries(); // Clears SQL queries
```

Credits
-------

[](#credits)

Debugger and Glowie are currently developed by [Gabriel Silva](https://gabrielsilva.dev.br).

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance73

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~195 days

Total

3

Last Release

149d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64693687?v=4)[Gabriel Silva](/maintainers/eugabrielsilva)[@eugabrielsilva](https://github.com/eugabrielsilva)

---

Top Contributors

[![eugabrielsilva](https://avatars.githubusercontent.com/u/64693687?v=4)](https://github.com/eugabrielsilva "eugabrielsilva (29 commits)")

---

Tags

debug-bardebuggerglowie

### Embed Badge

![Health badge](/badges/glowieframework-debugger/health.svg)

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

###  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)
