abduazam/error-handler-bot

此包帮助处理错误并通过Telegram机器人发送。

v1.0.1 2024-01-29 06:32 UTC

This package is auto-updated.

Last update: 2024-09-29 09:22:28 UTC


README

Latest Version on Packagist Total Downloads

文档、安装和使用说明

此包允许您处理错误并通过Telegram机器人发送到您的开发团队群组或频道。

下载

通过Composer安装

composer require abduazam/error-handler-bot

发布供应商

php artisan vendor:publish

选择ErrorHandlerBot服务

image

配置

在配置文件夹中配置error-handler-bot.php。放入您的Telegram机器人API-Token以及您的群组或频道ID

image

使用方法

在您的异常处理类的register()方法上调用ErrorHandlerBot

image