zuccadev/exceptioneer-laravel

Laravel 和 Lumen 的 Exceptioneer 客户端

v1.1.0 2015-07-23 17:42 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:34:16 UTC


README

Laravel 5 和 Lumen 的 Exceptioneer 客户端

在 Lumen 上安装

将 Exceptioneer 处理器绑定到 ExceptionHandler 合约,通过更新单例 Zuccadev\ExceptioneerLaravel\Lumen\Handler::class

bootstrap/app.php 中注册服务提供者,添加 $app->register(Zuccadev\ExceptioneerLaravel\Lumen\ExceptioneerServiceProvider::class); 到相关部分

将这些值添加和编辑到您的 .env 文件中

EXCEPTIONEER_KEY=yourApiKey!!!
EXCEPTIONEER_STAGE=production
EXCEPTIONEER_SERVER=http://<yourExceptioneerServerDomain>/api/v1/notifications
EXCEPTIONEER_LOGAPP=false