laravel/pail
Laravel Pail tails your Laravel app’s logs in a sleek, interactive CLI. Works with any log driver (including Sentry and Flare) and includes handy filters to quickly find the messages you need while developing.
Architecture fit:
--level, --context, --timeout) aligns with modern debugging workflows, reducing reliance on external tools (e.g., Sentry UI, Datadog).Integration feasibility:
composer require laravel/pail is sufficient for basic usage. No database migrations, configuration changes, or service provider modifications are required.--timeout option (v1.2.0) enables safe log inspection in ephemeral environments (e.g., GitHub Actions), reducing flaky test failures.Technical risk:
Key questions for TPM:
Stack fit:
Migration path:
composer require --dev laravel/pail
composer.json under require-dev to avoid production bloat.php artisan log:tail (default: tails storage/logs/laravel.log).php artisan log:tail --level=error --context=auth # Filter by level/context
php artisan log:tail --timeout=30 # CI/CD-friendly timeout
php artisan log:tail --follow # Real-time tailing
# GitHub Actions example
- run: php artisan log:tail --timeout=60 --level=error
Compatibility:
Sequencing:
composer.json across the codebase.tail -f + grep).alias ll="php artisan log:tail --follow").Maintenance:
composer update.Support:
config/logging.php).--timeout in CI.LOG_LEVEL and LOG_CHANNEL are correctly set.php artisan log:tail --follow).Scaling:
--limit flag).--timeout to mitigate.Failure modes: | Scenario | Impact | Mit
How can I help you explore Laravel packages today?