4,000 emails/month for free | Mailtrap sends real emails now!

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
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
PhpStorm logo

PhpStorm

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

PhpStorm
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum