承接 szymcode/sentry-substitute 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-02-07