PHPackages                             irabbi360/laravel-debugmate - 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. irabbi360/laravel-debugmate

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

irabbi360/laravel-debugmate
===========================

Error tracking, log viewing, and performance monitoring SDK for Laravel

v1.0-beta.1(1mo ago)01↓100%MITPHPPHP ^8.2

Since May 7Pushed 2w agoCompare

[ Source](https://github.com/irabbi360/laravel-debugmate)[ Packagist](https://packagist.org/packages/irabbi360/laravel-debugmate)[ RSS](/packages/irabbi360-laravel-debugmate/feed)WikiDiscussions main Synced 1w ago

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

DebugMate SDK
=============

[](#debugmate-sdk)

A comprehensive error tracking, log viewing, and performance monitoring package for Laravel applications.

Features
--------

[](#features)

- 🚨 **Error Tracking**: Automatically capture and report PHP errors and exceptions
- 📊 **Performance Monitoring**: Track application performance metrics
- 📝 **Log Viewer**: Stream and view application logs in real-time
- 🔐 **API Token Authentication**: Secure token-based communication
- 🎯 **Selective Tracking**: Filter which errors and logs to track
- ⚡ **Async Reporting**: Non-blocking error reporting via queues
- 🏷️ **Tagging**: Tag errors with custom data for better organization

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

[](#installation)

```
composer require irabbi360/laravel-debugmate
```

Quick Start
-----------

[](#quick-start)

### 1. Register Exception Handler

[](#1-register-exception-handler)

```
// bootstrap/app.php
->withExceptions(function (Exceptions $exceptions) {
    \Irabbi360\LaravelDebugMate\Services\ExceptionHandler::handles($exceptions);
})->create();
```

To manually report an error:

```
use DebugMate\SDK\Facades\DebugMate;

try {
    // Your code
} catch (Exception $e) {
    DebugMate::reportError($e, [
        'user_id' => auth()->id(),
        'route' => request()->path(),
        'custom_data' => 'any value'
    ]);
}
```

### Performance Monitoring

[](#performance-monitoring)

Track specific operations:

```
use DebugMate\SDK\Facades\DebugMate;

DebugMate::startMonitoring('database_query');
// ... your code ...
DebugMate::stopMonitoring('database_query', ['query' => 'SELECT...']);
```

### Log Viewer API

[](#log-viewer-api)

Stream logs to the DebugMate app:

```
use DebugMate\SDK\Facades\DebugMate;

// Automatic - logs are streamed in real-time
// Or manually push logs
DebugMate::log('Channel', 'Log message', 'info', ['context_data']);
```

API Endpoints
-------------

[](#api-endpoints)

### Report Error

[](#report-error)

```
POST /api/debugmate/errors
Authorization: Bearer {API_TOKEN}

{
  "project_key": "string",
  "error_type": "string",
  "message": "string",
  "stack_trace": "string",
  "context": object,
  "tags": object,
  "timestamp": "ISO 8601"
}

```

### Stream Performance Metrics

[](#stream-performance-metrics)

```
POST /api/debugmate/metrics
Authorization: Bearer {API_TOKEN}

{
  "project_key": "string",
  "metric_name": "string",
  "duration_ms": number,
  "context": object,
  "timestamp": "ISO 8601"
}

```

### Stream Logs

[](#stream-logs)

```
POST /api/debugmate/logs
Authorization: Bearer {API_TOKEN}

{
  "project_key": "string",
  "channel": "string",
  "message": "string",
  "level": "string",
  "context": object,
  "timestamp": "ISO 8601"
}

```

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

[](#configuration)

Edit `config/debugmate.php`:

```
return [
    'enabled' => env('DEBUGMATE_ENABLED', true),
    'api_url' => env('DEBUGMATE_API_URL'),
    'api_token' => env('DEBUGMATE_API_TOKEN'),
    'project_key' => env('DEBUGMATE_PROJECT_KEY'),

    // What to track
    'track_errors' => true,
    'track_logs' => true,
    'track_performance' => true,
    'track_queries' => false,

    // Queue configuration
    'queue' => env('QUEUE_CONNECTION', 'sync'),
    'async_reporting' => true,

    // Filtering
    'ignore_paths' => ['health', 'ping'],
    'ignore_exceptions' => [],
    'sample_rate' => 1.0, // 0-1, percentage of requests to track
];
```

Documentation
-------------

[](#documentation)

See full documentation in `/docs` folder or visit [debugmate.app/docs](https://debugmate.app/docs)

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance95

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

33d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3550a7f53f819e536401ac2a5357c930d6316a6c129f65b220332b0d0b42ad87?d=identicon)[irabbi360](/maintainers/irabbi360)

---

Top Contributors

[![irabbi360](https://avatars.githubusercontent.com/u/35403788?v=4)](https://github.com/irabbi360 "irabbi360 (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/irabbi360-laravel-debugmate/health.svg)

```
[![Health](https://phpackages.com/badges/irabbi360-laravel-debugmate/health.svg)](https://phpackages.com/packages/irabbi360-laravel-debugmate)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

88011.3M149](/packages/spatie-laravel-health)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9732.3M121](/packages/roots-acorn)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299571.0k1](/packages/larabug-larabug)

PHPackages © 2026

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