I did this a while ago (bootstrap)
http://novate.co.uk/user-interface-for-display-of-laravel-logfiles/
then redid it for TALL stack
https://talltips.novate.co.uk/livewire/simple-log-file-viewer
You might find stuff of interest
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey!
I'm trying to display storage/logs/laravel.log contents in an Administrator Panel Page (specifically textarea) and its looking great but the problem is its a little unreadable. Look what I'm talking about

How can I make this a little more readable? I tried with trim() but nothing happens (The spaces aren't removing). Here's how I get laravel.log contents:
File::get(storage_path().'/logs/laravel.log')
is that the right way? Help is appreciated.
I did this a while ago (bootstrap)
http://novate.co.uk/user-interface-for-display-of-laravel-logfiles/
then redid it for TALL stack
https://talltips.novate.co.uk/livewire/simple-log-file-viewer
You might find stuff of interest
Please or to participate in this conversation.