dennissmink / lara-bug
Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier
Requires
- php: ^7.4 || ^8.0 || ^8.2 || ^8.3 || ^8.4
- guzzlehttp/guzzle: ^6.0.2 || ^7.0
- illuminate/support: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
- nesbot/carbon: ^2.62.1 || ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- mockery/mockery: ^1.3.3 || ^1.4.2
- orchestra/testbench: ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- phpunit/phpunit: ^8.5.23 || ^9.5.12 || ^10.0.9 || ^11.0
- dev-master
- 3.7.0
- 3.6.1
- 3.6
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.1
- 3.3
- 3.2.1
- 3.2
- 3.1
- 3.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4
- 2.3.1
- 2.3
- 2.2
- 2.1.2
- 2.1.1
- 2.1
- 2.0.1
- 2.0
- 1.4.2
- 1.4.1
- 1.4
- 1.3.1
- 1.3
- 1.2.2
- 1.2.1
- 1.2
- 1.1
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-docs/readme-refresh
- dev-feature/self-tracking-guards
- dev-feature/laravel-13-support
- dev-feature/add-custom-exception-to-test-command
- dev-feature/project-version
- dev-feature/improvements-to-test-command
- dev-feature/add-environment-to-exception
This package is auto-updated.
Last update: 2026-04-11 15:25:41 UTC
README
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.
