Skip to content

melihovv/laravel-log-viewer

Repository files navigation

Laravel log viewer

Build Status styleci Packagist Packagist Commitizen friendly semantic-release

Small log viewer for laravel. Looks like this:

screenshot

Based on rap2hpoutre/laravel-log-viewer.

Enhancements

  • navigation to logs in nested folder
  • tests

Install

Install via composer

composer require melihovv/laravel-log-viewer

Add Service Provider to config/app.php in providers section

Melihovv\LaravelLogViewer\LaravelLogViewerServiceProvider::class,

Add a route in your web routes file:

Route::get('logs', '\Melihovv\LaravelLogViewer\LaravelLogViewerController@index');

Go to http://myapp/logs

Additional

Publish package config if you want customize default values

php artisan vendor:publish --tag=config

If you want customize package view

php artisan vendor:publish --tag=views