Lumberjack for Laravel
Documentation: exeque.github.io/laravel-lumberjack, or the docs folder.
Sends a Laravel app's errors, requests, queries, jobs, artisan commands, scheduled tasks and log lines to Lumberjack, through a local agent so a slow or unreachable Lumberjack never slows the app down. Browser errors come along with one Blade directive, and the app can react to Lumberjack's alerts through a signed webhook.
Requires PHP 8.3+ and Laravel 12 or 13.
bash
composer require exeque/laravel-lumberjack
php artisan lumberjack:install # keys, browser script, health checks, how to run the agent
php artisan lumberjack:agent # under Supervisor or systemd
php artisan lumberjack:test # check it end to endphp
// React to alerts, in a service provider.
Lumberjack::onException(PaymentGatewayException::class, [Status::New, Status::Escalating], fn (Alert $alert) => StatusBanner::show('Payments are slow'));Documentation
- Installation
- The agent
- What is recorded
- Logs
- Browser errors
- Health checks
- Reacting to alerts
- Testing your app
- Artisan commands
- Configuration
- Laravel Boost
Development
See Contributing.