napp / nova-bugsnag
A Laravel Nova card.
Installs: 32 735
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 2
Forks: 0
Open Issues: 4
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-10-29 05:16:43 UTC
README
Add bugsnag statistical cards for your Laravel Nova Dashboard.
Install
You need to run the following command:
composer require napp/nova-bugsnag
Add credentials
add the following toconfig/services.php
'bugsnag' => [ 'api_key' => env('NOVA_BUGSNAG_API_KEY'), 'project_id' => env('NOVA_BUGSNAG_PROJECT_ID'), 'account_slug' => env('NOVA_BUGSNAG_ACCOUNT_SLUG'), ]
Add cards to dashboard
public function cards() { return [ new \Napp\NovaBugsnag\BugsnagErrorRate(), new \Napp\NovaBugsnag\BugsnagCriticalErrors() ] }