wzulfikar/check-rollbar-limit
Composer 安装命令:
composer require wzulfikar/check-rollbar-limit
包简介
Naive artisan command to check rollbar limit
README 文档
README
Artisan command to check rollbar limit
- setup rollbar access token in
config/services.php - add service provider of this package in your
config/app.php
'providers' => [ // .. other providers Wzulfikar\CheckRollbarLimit\CheckRollbarLimitServiceProvider::class, ];
- run
php artisan rollbar:check-limit
The command will send post request to rollbar and check if the request was rejected because of limit exceeded. And if so, event \Wzulfikar\CheckRollbarLimit\RollbarLimitExceededEvent::class will be triggered.
To listen to above event, you can add listener in you EventServiceProviders.php. Something like:
// app/Providers/EventServiceProvider.php protected $listen = [ \Wzulfikar\CheckRollbarLimit\RollbarLimitExceededEvent::class => [ // put your listener here ], ];
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-03-13