Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.03 KB

README.md

File metadata and controls

54 lines (29 loc) · 1.03 KB

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