Better way to read Laravel (PHP) Logs Better way to read Laravel (PHP) Logs laravel laravel

Better way to read Laravel (PHP) Logs


You can use this package https://github.com/rap2hpoutre/laravel-log-viewer

I am using it in my project and it's rather useful.


This is not a better way but it depends on the requirement if only query logs or any such small errors has to be checked then Laravel logs are all logged in \storage\logs\Laravel.logYou can empty this file and reload the website all the errors will be populated here again.


Laravel Log Reader package so simple and easy installation. It also provides JSON API also, so that you can make your own UI if want.

GitHub: https://github.com/haruncpi/laravel-log-reader

Laravel Log Reader Preview