Skip to content

Latest versionTotal downloadsTestsDocumentationPHP versionLaravel versionLicense

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 end
php
// React to alerts, in a service provider.
Lumberjack::onException(PaymentGatewayException::class, [Status::New, Status::Escalating], fn (Alert $alert) => StatusBanner::show('Payments are slow'));

Documentation ​

Development ​

See Contributing.