Log Viewer

opcodesio/log-viewer image

Log Viewer stats

Downloads
986.1K
Stars
2,850
Open Issues
6
Forks
180

View on GitHub →

Fast and easy-to-use log viewer for your Laravel application

Log Viewer for Laravel

Log Viewer by OPcodes is a powerful, user-friendly tool designed to enhance the way you interact with logs in your Laravel applications. It eliminates the need to sift through raw log files by providing a structured, intuitive interface to view, search, and manage logs directly from a web browser.

Key Features

  • Comprehensive Log Viewing: Access all Laravel logs stored in the storage/logs directory, as well as logs from other systems like Horizon, Apache, Nginx, Redis, and more.
  • Search and Filter: Easily search through logs and filter entries by log level (error, info, debug, etc.).
  • User-Friendly Interface: Features a mobile-friendly UI, dark mode, and keyboard accessibility.
  • Management Tools: Download and delete log files directly from the UI.
  • Multi-Host Support: Manage logs from multiple hosts in one place.
  • API Access: Programmatically retrieve folders, files, and log entries.
  • Additional Features: Includes sharable links to specific log entries, mail previews for logged emails, and Horizon log support.

Installation

Prerequisites

  • PHP version 8.0 and above.
  • Laravel 8 or higher.

Steps

  1. Install via composer:

    composer require opcodesio/log-viewer
  2. Publish the front-end assets:

    php artisan log-viewer:publish

Accessing Log Viewer

After installation, Log Viewer can be accessed at {APP_URL}/log-viewer (e.g., https://my-app.test/log-viewer).

Documentation and Support

Enhancements and Community Contributions

Log Viewer is open to contributions from the developer community. For guidelines on contributing and reporting security vulnerabilities, check the official repository documentation.

Summary

Log Viewer is an essential tool for developers looking to streamline log management in Laravel applications. With its rich set of features and easy integration, it provides a significant improvement over manually browsing log files, packaged in a sleek, responsive UI.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Opcodesio Log Viewer Related Articles

Support for Closures in Constant Expressions in PHP 8.5 image

Support for Closures in Constant Expressions in PHP 8.5

Read article
Make your app faster with PHP 8.3 image

Make your app faster with PHP 8.3

Read article
Speed Up Laravel on Top of Swoole image

Speed Up Laravel on Top of Swoole

Read article
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm