larabug/larabug
Laravel 6.x/7.x/8.x/9.x/10.x/11.x bug notifier
554,005
299
| Install | |
|---|---|
composer require larabug/larabug |
|
| Latest Version: | 3.6.1 |
| PHP: | ^7.4 || ^8.0 || ^8.2 || ^8.3 || ^8.4 |
| License: | MIT |
| Last Updated: | Mar 19, 2026 |
| Links: | GitHub · Packagist |
Maintainer: Cannonb4ll
LaraBug Laravel SDK
Official Laravel SDK for larabug.com. Captures unhandled exceptions and queued job failures from Laravel 6 through 13 on PHP 7.4 and newer.
Installation
composer require larabug/larabug
Publish the config file:
php artisan vendor:publish --provider="LaraBug\ServiceProvider"
Set your credentials in .env:
LB_KEY=your-login-key
LB_PROJECT_KEY=your-project-key
Get both keys from your project at larabug.com.
Finally, add larabug to your default log stack in config/logging.php:
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'larabug'],
'ignore_exceptions' => false,
],
'larabug' => [
'driver' => 'larabug',
],
],
That's it. Every unhandled exception, and every failed queue job, now reports to LaraBug automatically.
Documentation
Full documentation — configuration, exception capturing, queue and job monitoring, user context, testing, and troubleshooting — lives at larabug.com/docs.
Related
- LaraBug JavaScript SDK — frontend error tracking for Vanilla JavaScript, React, Vue 3, and Inertia.js.
License
The LaraBug Laravel SDK is open source software licensed under the MIT license.
