errtap/laravel
Composer 安装命令:
composer require errtap/laravel
包简介
ErrTap error tracking for Laravel — reports unhandled exceptions to your ErrTap project.
README 文档
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');
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-11