cceo-developer/catchr-sdk
Composer 安装命令:
composer require cceo-developer/catchr-sdk
包简介
Global error catcher for Laravel apps (Catchr).
README 文档
README
Catchr (Laravel) — Error Reporting Package
Catchr is a Laravel package that intercepts exceptions, monitoring queue jobs and logs globally and reports them to one or more HTTP endpoints (webhooks/APIs). It includes sanitization of sensitive data, HTTP/Server/DB context, and deduplication (to prevent spam when the same error is repeated).
Features
- Global Exception Capture: Intercepts all unhandled exceptions.
- Queue Job Monitoring: Automatically tracks job processing, success, and failures.
- Log Reporting: Forwards application logs to your configured endpoints.
- Multi-endpoint Support: Send data to multiple URLs simultaneously.
- Rich Payload:
- Exception details (type, message, file, line, trace).
- HTTP context (method, URL, parameters, sanitized headers, server).
- DB context for
QueryException(connection and SQL). - Authenticated user information.
- Security & Privacy: Automatically redacts sensitive headers and keys (e.g.,
authorization,passwords,tokens). - Persistent Deduplication: Prevents notification storms by caching repeated errors within a configurable TTL.
Installation
You can install the package via composer:
composer require cceo-developer/catchr-sdk
You can publish the config file with:
php artisan vendor:publish --tag="catchr-config"
Configuration
Exceptions
Capture and report exceptions globally.
CATCHR_EXCEPTION_ENABLED: Enable/disable exception reporting (default:true).CATCHR_EXCEPTION_ENDPOINTS: Comma-separated list of URLs to report exceptions.CATCHR_EXCEPTION_DEDUPE_ENABLED: Enable/disable deduplication (default:true).
Queue Jobs
Monitor your background jobs lifecycle.
CATCHR_QUEUE_ENABLED: Enable/disable queue monitoring (default:true).CATCHR_QUEUE_REPORT_PROCESSING: Report when a job starts (default:true).CATCHR_QUEUE_REPORT_PROCESSED: Report when a job finishes successfully (default:true).CATCHR_QUEUE_REPORT_FAILED: Report when a job fails (default:true).CATCHR_QUEUE_ENDPOINTS: Comma-separated list of URLs for job reports.
Logs
Forward your application logs to external services.
CATCHR_LOG_ENABLED: Enable/disable log reporting (default:true).CATCHR_LOG_ENDPOINTS: Comma-separated list of URLs for log reports.
Requirements
- PHP: 8.2+
- Laravel: 10 | 11 | 12
cceo-developer/catchr-sdk 适用场景与选型建议
cceo-developer/catchr-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 56 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 cceo-developer/catchr-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cceo-developer/catchr-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-03-20