cblink/bearychat-exception

该包的官方仓库似乎已不存在,因此该包已被冻结。

1.0.1 2018-05-18 02:40 UTC

This package is not auto-updated.

Last update: 2023-01-21 20:30:30 UTC


README

通过 BearyChat 通知 Laravel 异常

安装

composer require cblink/bearychat-exception

将服务提供者添加到 config/app.php 中的 providers 数组

ElfSundae\BearyChat\Laravel\ServiceProvider::class,

发布配置文件

php artisan vendor:publish --tag=bearychat

使用方法


use Cblink\BearychatException\BearychatExceptionHelper;

class Handler extends ExceptionHandler
{
  // ...
  
    public function report(Exception $exception)
    {
        BearychatExceptionHelper::notify($exception);
        parent::report($exception);
    }

}

更多使用方法请参考 https://github.com/ElfSundae/laravel-bearychat

file