PHPackages                             our-ticketing/error-monitor - 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. our-ticketing/error-monitor

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

our-ticketing/error-monitor
===========================

Laravel SDK that captures exceptions, queue failures and diagnostics and ships them to the TicketGo Application Monitoring platform.

v1.1.0(yesterday)012↑2650%MITPHPPHP ^8.2CI passing

Since Jul 1Pushed yesterdayCompare

[ Source](https://github.com/Startappz-Limited/laravel-ticket-error-monitoring)[ Packagist](https://packagist.org/packages/our-ticketing/error-monitor)[ RSS](/packages/our-ticketing-error-monitor/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

our-ticketing/error-monitor
===========================

[](#our-ticketingerror-monitor)

Laravel SDK for the TicketGo **Application Monitoring &amp; Crash Analytics** platform. It captures unhandled exceptions, queue failures and (optionally) slow queries, sanitizes secrets/PII, and ships signed reports to your TicketGo instance — which deduplicates, groups, and auto-creates tickets.

> Designed to be **fail-safe**: a misconfiguration or network error never throws into your app.

Install
-------

[](#install)

```
composer require our-ticketing/error-monitor
php artisan vendor:publish --tag=monitoring-config
```

Add the credentials issued when you registered the application in the TicketGo admin panel:

```
MONITORING_ENABLED=true
MONITORING_API_KEY=pk_xxxxxxxx          # public key  → X-Monitor-Key
MONITORING_SECRET=xxxxxxxxxxxxxxxx      # secret      → HMAC signs the body
MONITORING_ENDPOINT=https://support.example.com/api/v1/errors
MONITORING_RELEASE=1.4.0                # optional, for release tracking
```

That's it — the package auto-discovers its service provider and starts reporting unhandled exceptions. No changes to `bootstrap/app.php` are required.

What it captures
----------------

[](#what-it-captures)

SourceToggle (`config/monitoring.php`)Unhandled exceptions / fatal errors`capture.exceptions` (on)Failed queue jobs`capture.queue_failures` (on)Slow queries (≥ threshold ms)`capture.slow_queries` (off)Each report includes: exception class, message, severity, full stack trace, sanitized HTTP context and request payload, framework/PHP versions, release, hostname, route/controller, request id, and the authenticated user id.

Manual reporting
----------------

[](#manual-reporting)

```
use OurTicketing\ErrorMonitor\Facades\Monitor;

try {
    $gateway->charge($order);
} catch (\Throwable $e) {
    Monitor::report($e, ['context' => ['order_id' => $order->id]]);
    throw $e;
}

// Or a diagnostic without an exception:
Monitor::capture('Inventory sync drifted', 'high', ['skus' => 42]);
```

Data protection
---------------

[](#data-protection)

Keys listed in `config('monitoring.sanitize.fields')` are redacted (case-insensitive substring match) from request payloads, headers and context **before** anything leaves your app. Emails and long digit sequences are obfuscated. Exceptions in `config('monitoring.dont_report')` (auth, validation, 404 by default) are never sent.

How signing works
-----------------

[](#how-signing-works)

The transport sends the JSON body with two headers:

- `X-Monitor-Key`: your public key
- `X-Monitor-Signature`: `hash_hmac('sha256', $rawJsonBody, $secret)`

The platform recomputes the HMAC with the stored secret and rejects mismatches (HTTP 401).

Performance
-----------

[](#performance)

By default (`MONITORING_DEFERRED=true`) the HTTP call is deferred to the framework's terminating phase, so reporting adds no latency to the user's response. In console/queue context it sends inline with a short timeout.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance100

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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 ~0 days

Total

3

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/710af59683301b56fe0cc7f956bbf4abc30124e8dc6d292380ea39dbfdcc293f?d=identicon)[startappz](/maintainers/startappz)

---

Top Contributors

[![StartappzKE](https://avatars.githubusercontent.com/u/8203010?v=4)](https://github.com/StartappzKE "StartappzKE (5 commits)")

---

Tags

laravelmonitoringerror-trackingcrash-analyticsticketgo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/our-ticketing-error-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/our-ticketing-error-monitor/health.svg)](https://phpackages.com/packages/our-ticketing-error-monitor)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M143](/packages/laravel-mcp)

PHPackages © 2026

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