bin-ism/error-monitoring
最新稳定版本:0.0.0
Composer 安装命令:
composer require bin-ism/error-monitoring
包简介
this is a hello world repo for composer.
关键字:
README 文档
README
Installation
register in our website
http://error-monitoring.pzhame.ir/register
create account and get token :
in your account , create a project and get specific token http://error-monitoring.pzhame.ir
install package via composer
composer require bin-ism/error-monitoring:dev-master
publish vendor
php artisan vendor:publish --provider="Binism\ErrorMonitoring\ErrorMonitoringServiceProvider"
environment config
add ERROR_MONITORING=true in your .env file
set your token in published file
in config/error-monitoring.php set your token
<?php return [ 'token' => 'YOUR_TOKEN', ];
Usage
in app/Exceptions/Handler.php add blow code
public function register() { $this->reportable(function (Throwable $e) { \Binism\ErrorMonitoring\Monitor::reportError($e); }); }
now , whenever an error happend you can what complete detail in our website
Author
Reza Karimi
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-21