2017 © Pedro Peláez
 

library displaylog

Read and display contents of laravel log file

image

malcolmknott/displaylog

Read and display contents of laravel log file

  • Sunday, July 2, 2017
  • by MalcolmKnott
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 24 % Grown

The README.md

Display your Laravel log file in a bootsrap styled layout

This composer package reads and displays your Laravel log file., (*1)

Installation

Begin by pulling in the package through Composer., (*2)

composer require malcolmknott/displaylog

Next, if using Laravel 5, include the service provider within your config/app.php file., (*3)

'providers' => [
    Malcolmknott\Displaylog\DisplayLogServiceProvider::class,
];

Add this driver to your config/filesystems.php file., (*4)

'storage' => [
    'driver' => 'local',
    'root' => storage_path(),
]

If you have a new project scaffold the basic login and registration views to pull in Boostrap. Or publish the view file to use your own layout., (*5)

php artisan make:auth

View

Publish the view file to change the format and add your own style., (*6)

php artisan vendor:publish --provider="Malcolmknott\Displaylog\DisplayLogServiceProvider" --tag="views"

Usage

Add a route that points to the Display Log Controller, you'll probably want to add some middleware to restrict who can view your log., (*7)

Route::get('display-log', '\Malcolmknott\Displaylog\DisplayLogController@show');

The Versions

02/07 2017

dev-master

9999999-dev

Read and display contents of laravel log file

  Sources   Download

MIT

by Malcolm Knott

02/07 2017

v1.0.0

1.0.0.0

Read and display contents of laravel log file

  Sources   Download

MIT

by Malcolm Knott