wzulfikar / check-rollbar-limit
Naive artisan command to check rollbar limit
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/wzulfikar/check-rollbar-limit
Requires
- php: >=5.3
- illuminate/support: 4.*|5.*
- rollbar/rollbar: ~0.11
This package is not auto-updated.
Last update: 2025-09-28 10:26:49 UTC
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 ], ];