andreapollastri / laratrack
Error Tracking Client for Laravel.
Installs: 255
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/support: ^8.0|^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
Error Tracking Client For Laravel
Installation
- Install client vendor:
composer require andreapollastri/laratrack
- Update app/Exceptions/Handler.php file adding:
public function report(Throwable $exception) { $log = New \Andr3a\Laratrack\Laratrack(); $log->shouldReport($exception); parent::report($exception); }
- Add these vars into your .env file:
LARATRACK_API_KEY=<YOUR-LARATRACK-API-KEY>
LARATRACK_ENDPOINT=<YOUR-LARATRACK-API-URL>