eiromz / log-viewer

Fast and easy-to-use Log Viewer for your Laravel application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Viewer
Fast and easy-to-use

Features | Installation | Configuration | Credits

Packagist Packagist PHP from Packagist Laravel Version

log-viewer-screenshot

OPcodes's Log Viewer is a perfect companion for your Laravel app.

You will no longer need to read the raw Laravel log files trying to find what you're looking for.

Log Viewer helps you quickly and clearly see individual log entries, to search, filter, and make sense of your Laravel logs fast. It is free and easy to install.

Features

  • πŸ“‚ View all the Laravel logs in your storage/logs directory,
  • πŸ” Search the logs,
  • 🎚 Filter by log level (error, info, debug, etc.),
  • πŸ”— Sharable links to individual log entries,
  • πŸ’Ύ Download & delete log files from the UI,
  • β˜‘οΈ Horizon log support,
  • and more...

Get Started

Requirements

  • PHP 8.0+
  • Laravel 8+

Installation

To install the package via composer, Run:

composer require opcodesio/log-viewer

Usage

Once the installation is complete, you will be able to access Log Viewer directly in your browser.

By default, the application is available at: {APP_URL}/log-viewer.

(for example: https://my-app.test/log-viewer)

Configuration

Config file

To publish the config file, run:

php artisan vendor:publish --tag="log-viewer-config"

Route & Middleware

You can easily change the default route and its middleware in the config/log-viewer.php.

See the configuration below:

    /*
    |--------------------------------------------------------------------------
    | Log Viewer Route
    |--------------------------------------------------------------------------
    | Log Viewer will be available under this URL.
    |
    */

    'route_path' => 'log-viewer',

    /*
    |--------------------------------------------------------------------------
    | Log Viewer route middleware.
    |--------------------------------------------------------------------------
    | The middleware should enable session and cookies support in order for the Log Viewer to work.
    | The 'web' middleware will be applied automatically if empty.
    |
    */

    'middleware' => ['web'],

Screenshots

Read the release blog post for screenshots and more information about Log Viewer's features.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Fast and easy-to-use Log Viewer for your Laravel application

License:MIT License


Languages

Language:PHP 57.5%Language:Blade 29.7%Language:SCSS 10.0%Language:JavaScript 2.8%