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

ravenshill's avatar

Conveniently tail you last laravel log

#I added the function below to my .zshrc, it assumes you are in the base directory of a laravel project.

laratail() { tail -f $(ls -td storage/logs/*.log | head -1) }

0 likes
1 reply

Please or to participate in this conversation.