PHPackages                             mohamed-hathout/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mohamed-hathout/debugger

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

mohamed-hathout/debugger
========================

A powerful Laravel debugging tool with real-time monitoring, query debugging, and variable inspection capabilities

v1.4.0(7mo ago)16MITPHPPHP ^8.3

Since Sep 20Pushed 7mo agoCompare

[ Source](https://github.com/7at7ot777/debuggerPackage)[ Packagist](https://packagist.org/packages/mohamed-hathout/debugger)[ RSS](/packages/mohamed-hathout-debugger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

Laravel Debugger Package
========================

[](#laravel-debugger-package)

A powerful debugging tool for Laravel applications that allows you to monitor and analyze debug data in real-time with advanced filtering and visualization capabilities.

Requirements
------------

[](#requirements)

- PHP ^8.3
- Laravel ^12.19

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

[](#installation)

```
composer require mohamed_hathout/debugger
```

Configuration
-------------

[](#configuration)

After installation, publish the configuration file:

```
php artisan vendor:publish --provider="MohamedHathout\Debugger\DebuggerServiceProvider"
```

This will publish:

- Configuration file (`config/debugger.php`)
- Views (optional)

Usage
-----

[](#usage)

### Basic Debugging

[](#basic-debugging)

```
// Debug any variable
debug($variable);

// Debug an Eloquent query
debug_query($query);
```

### Configuration Options

[](#configuration-options)

In `config/debugger.php`:

```
return [
    'truncate_tables' => false, // Whether to use TRUNCATE instead of DELETE when clearing data
    'sort' => 'desc', // Sort order for debug entries
    'route_name' => 'debugger', // URL path for the debug viewer
    'is_enabled' => true, // Enable/disable debugging
    'storage_type' => 'database', // 'database' or 'cache'

    'cache' => [
        'key_prefix' => 'debugger:',
        'counter_key' => 'debugger:counter',
        'index_key' => 'debugger:index',
        'files_key' => 'debugger:files',
        'ttl' => 3600, // Cache TTL in seconds
    ],
];
```

### Debug Viewer

[](#debug-viewer)

Access the debug viewer at `/debugger` (or your configured route) to see all debug entries with:

- Real-time updates
- Type filtering (text, number, JSON)
- File filtering
- Search functionality
- Copy to clipboard
- Clear all data

Features
--------

[](#features)

- Debug any variable type (text, numbers, arrays, objects)
- Query debugging with bindings resolution
- Real-time debug viewer with Livewire
- Advanced filtering and search
- Database or cache storage options
- Configurable settings
- Bootstrap 5 UI with dark mode support

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

5

Last Release

234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2932bffdb17547b1aa93a93b4f983a0689220ba2f438b211515aba031de9899?d=identicon)[7at7ot777](/maintainers/7at7ot777)

---

Tags

laravelmonitoringdebugdebuggingdevelopmentlivewiredebugger

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[binarybuilds/laravel-mail-manager

A Laravel mail manager to record and re-send all outgoing emails.

2440.2k1](/packages/binarybuilds-laravel-mail-manager)[lucianotonet/laravel-telescope-mcp

MCP Server extension for Laravel Telescope

198.6k](/packages/lucianotonet-laravel-telescope-mcp)

PHPackages © 2026

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