Laravel Packages

Pail is an experimental package to tail logs

Published Updated
Pail is an experimental package to tail logs image

Nuno Maduro shared an experimental Artisan package to provide an effortless way to tail logs in your Laravel applications:

I want to emphasize again that Nuno shared Pail this week in a very early form as an "idea in the making." It's not ready for production but you can indeed start experimenting with it and provide feedback:

This package is still in its proof-of-concept phase. It's an idea in the making, not yet optimized for production scenarios. Any feedback is welcome!

Some fantastic ideas so far include filtering logs by an authenticated user or filtering:

php artisan pail --user=1
 
php artisan pail --filter="Illuminate\Database"

Since this package doesn't have any releases, you can install it as a dev dependency using dev-main:

composer require nunomaduro/pail:dev-main

You can learn more about this package, get full installation instructions, and check it out on GitHub at nunomaduro/pail.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Compoships: Eloquent Relationships on Multiple Columns image

Compoships: Eloquent Relationships on Multiple Columns

Read article
MKSine: A Filament CMS with Plugins, Themes, and Blocks image

MKSine: A Filament CMS with Plugins, Themes, and Blocks

Read article
Cancel In-Flight Form Submissions in Inertia.js v3.7 image

Cancel In-Flight Form Submissions in Inertia.js v3.7

Read article
Laravel Starter Kits Now Ship with Vite+ image

Laravel Starter Kits Now Ship with Vite+

Read article
Pessimistic Locking in Laravel Eloquent with refreshForUpdate() image

Pessimistic Locking in Laravel Eloquent with refreshForUpdate()

Read article
Mask Query Bindings in Laravel Exception Messages image

Mask Query Bindings in Laravel Exception Messages

Read article