errtap/laravel

ErrTap error tracking for Laravel — reports unhandled exceptions to your ErrTap project.

Maintainers

Package info

github.com/ErrTap/errtap-laravel

pkg:composer/errtap/laravel

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-07-11 12:34 UTC

This package is auto-updated.

Last update: 2026-07-11 20:49:05 UTC


README

Zero-dependency ErrTap error tracking for Laravel.

Install

composer require errtap/laravel

Set env vars:

ERRTAP_DSN=your-dsn-here
ERRTAP_ENDPOINT=https://your-errtap-host/ingest/error
ERRTAP_RELEASE=v1.0.0   # optional, enables regression detection

Hook it up (one line)

Laravel 11+ — in bootstrap/app.php:

->withExceptions(function (Illuminate\Foundation\Configuration\Exceptions $exceptions) {
    $exceptions->reportable(fn (Throwable $e) => ErrTap\ErrTap::captureException($e));
})

Laravel ≤10 — in App\Exceptions\Handler::register():

$this->reportable(fn (Throwable $e) => ErrTap\ErrTap::captureException($e));

Manual capture anywhere:

ErrTap\ErrTap::captureMessage('something noteworthy');