/laravel-log-viewer

Laravel log viewer

Primary LanguagePHPMIT LicenseMIT

Laravel log viewer

Build Status styleci SensioLabsInsight Scrutinizer Code Quality Coverage Status

Packagist Packagist Packagist

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 (it is optional step if you use laravel>=5.5 with package auto discovery feature)

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

Security

If you discover any security related issues, please email amelihovv@ya.ru instead of using the issue tracker.

Credits