The missing tail command for Laravel 5 original

by Freek Van der Herten – 1 minute read

Last week Laravel 5 was released. Unfortunately that handy command for tailing the logs that you know and love from Laravel 4 was not included.

The laravel-tail package brings it back. You can install it via composer:

composer require spatie/laravel-tail

After that you'll have to register the service provider:

// config/app.php

'providers' => [
    ...
    'Spatie\Tail\TailServiceProvider',
    ...
];

After that's done you can tail your local log with

php artisan tail

The remote log can be tailed with

php artisan tail production

Happy tailing!

Join 9,500+ smart developers

Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

Found something interesting to share? Submit a link to the community section.