[Packages] Beautiful Log Viewer for Laravel
![[Packages] Beautiful Log Viewer for Laravel](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1662364757610%2F3sm3lcHbx.png&w=3840&q=75)
A passionate full-stack developer from @ePlus.DEV
Search for a command to run...
![[Packages] Beautiful Log Viewer for Laravel](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1662364757610%2F3sm3lcHbx.png&w=3840&q=75)
A passionate full-stack developer from @ePlus.DEV
No comments yet. Be the first to comment.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling.
In this article, I will introduce the simplest integration of real-time, after much learning and optimization in the most effective way. Technologies used in the article: Backend Laravel 6x Frontend VueJS 2x GraphQL - Lighthouse (A framework for s...
Một bản tin giúp Developer cập nhật nhanh AI, Cloud, Open Source và những công nghệ đáng chú ý trong ngày. 📌 Executive Summary OpenAI giảm mạnh giá GPT-5.6 Luna và Terra, đồng thời chuyển Priority

Một bản tin giúp Developer cập nhật nhanh AI, Cloud, Open Source và những công nghệ đáng chú ý trong ngày. 📌 Executive Summary GitHub Copilot code review đã hỗ trợ chính thức Agent Skills và MCP s

Overview Vibe coding is an emerging software development practice that uses artificial intelligence (AI) to generate functional code from natural language prompts, accelerating development, and making

Overview This lab demonstrates how Gemini can interpret what is in an image and provide a description quickly. During the exercise, you will provide the following image as input and ask Gemini is: "Wh

Overview In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to

Introducing the brand new Log Viewer for Laravel. Open-source with tons of features, fast and beautiful. What more do you need?

Over the past month, I have been working on an improved and faster version of the log viewer that I released years ago. It really needed a refresh, especially after I've learned so much as a developer over the last few years. I knew I could do it better this time. So, without further ado...
Introducing, the brand new Log Viewer for Laravel! 🎉
Now, let's go over a few key features and changes to the updated Log Viewer.
Log Viewer supports single & daily Laravel logs, as well as Horizon logs!

If your log naming is different, or want to include additional files that don't get initially picked up, you can configure it in the config/log-viewer.php configuration:

The logs are previewed in a clean way with subtle accents based on the severity of the log. This makes it easy to skim through the logs and find the right one.
Go ahead, and click on a log to show more details. While scrolling, the key log information stays sticky for convenience.

The included Search and Severity Filters also help immensely with filtering out the logs to help you find what you're looking for. Click on a severity button to toggle it on/off.
That's a wonderful feature when working in a team. Click on the index of the log on the right side and you will get the link to that individual log entry.
Share it with a team member, or put it on a project management ticket, bug report ticket, etc.

Note: be mindful of log rotation. These links point to a log file with a specific file name. If that file gets rotated by Laravel or other means, such as the default laravel.log file, the links may stop working or display a completely different log.
Useful when managing tons of log files. It also allows you to download a log file from production, for example, for closer inspection locally.

Ever look at the logs and the stack traces are just difficult to read? Hundreds of lines of vendor method calls, make it hard to find what really matters.

You can easily configure what stack trace lines get excluded from the log viewer in the config/log-viewer.php like so:

Dark Mode
Log Viewer comes with a Dark Mode that looks beautiful. The selected mode is remembered in your browser and if you set it to "System", it will follow your system's preferred light/dark mode!
