Skip to content

AliBayat/Laravel-LogViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Log Viewer

This Package can be used to show laravel log files inside of a web page using Bootstrap and DataTables. it can be used with Laravel/Lumen 4.2+ all the way through to the lastest versions. this package is a fork from the famous Log-Viewer package with minor changes.

Requirements

  • PHP 5.4+
  • Laravel 4.2+

Installation

Composer Install:

composer require alibayat/laravel-logviewer

Publish configuration:

php artisan vendor:publish \
  --provider="AliBayat\LaravelLogViewer\LaravelLogViewerServiceProvider"

Publish view file:

php artisan vendor:publish \
  --provider="AliBayat\LaravelLogViewer\LaravelLogViewerServiceProvider" \
  --tag=views


Usage

you can use any route you want to point to the index method of the controller included in the package:

Route::get('logs', '\AliBayat\LaravelLogViewer\LogViewerController@index');

Credits