szymcode/sentry-substitute
最新稳定版本:1.0.0
Composer 安装命令:
composer require szymcode/sentry-substitute
包简介
Package intended to replace Sentry in daily work.
README 文档
README
Package intended to replace Sentry in daily work. Handles errors in the web application and forwards them to the error panel. Link to Packagist
🛠️ Installation
• First make sure u have installed latest version of Composer.
• Install package in your Laravel project with Composer
composer require szymcode/sentry-substitute
❓ Usage
• Enable capturing exceptions to report them to the error panel by making the following changes to the App/Exceptions/Handler.php file:
use szymcode\sentry_substitute\ErrorHandling; public function register(): void { $this->reportable(function (Throwable $e) { ErrorHandling::getErrorMessage($e); // captures the error message and sends it to the /api/errors endpoint }); }
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-02-07