srmilon/log-viewer

To view laravel logs in details

Installs: 1 419

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

Type:laravel-package

0.1.5 2018-03-06 06:53 UTC

This package is not auto-updated.

Last update: 2024-05-04 11:43:19 UTC


README

The package will help to view laravel logs easily.

Prerequisites

PHP >= 5.3.0

Installing

Install the package via Composer by following command:

composer require srmilon/log-viewer

Once package installation done, register the service provider in config/app.php in the providers array like bellow:

providers' => [
    ...
    Srmilon\LogViewer\LogServiceProvider::class
  ]

For publishing views

php artisan vendor:publish \
  --provider="Srmilon\LogViewer\LogServiceProvider" \
  --tag=views

Then add folloiwng route in your routes file:

Route::get('/log', '\Srmilon\LogViewer\LogViewerController@index');

Now you can browse your laravel website logs using {your-website-url}/log.

For example:

http://www.example.com/log

Enjoy!