Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mhopkins321's avatar

[tip] A neat web-app for a log tail

I was looking on github for some laravel tools for live log viewing. That search lead me to find a laravel package that recreates php artisan tail that had been removed from the stock install of Laravel. spatie/laravel-tail

It's a pretty rad console command. It can be your decision whether seeing the tail in console is good or bad. For what I was looking for, it was half of the solution.

I then stumbled upon an npm package that allowed Terminal output to the browser in seconds, using UNIX pipes. [kilianc/rtail]. Built into this package are two commands rtail and rtail-server.

By running (from your root laravel project directory) php artisan tail | rtail. And in a different console tab rtail-server, you'll get the laravel error logs in a fancy web-app that looks like this.

*Edit, the above is taken from the rtail readme. Not an actual laravel log

0 likes
2 replies

Please or to participate in this conversation.