2017 © Pedro Peláez
 

library laravel-weblog

A simple utility to view your application's logs online

image

georgesdoe/laravel-weblog

A simple utility to view your application's logs online

  • Sunday, March 25, 2018
  • by georgesdoe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-weblog

A Laravel package to view and manage your application's logs online.
This package is meant to be used as a drop-in solution in order to manage and download your application's log files., (*1)

Requirements

  • PHP >= 5.6
  • Laravel >= 5.4

Installation

  • Run composer install georgesdoe/laravel-weblog
  • Publish the main assets by running php artisan vendor:publish --tag=main, and optionally if you want to edit the views php artisan vendor:publish --tag=views
  • Add a new disk in your filesystems.php configuration file called logspointing to where your logs are stored, for example
  'logs' => [
      'driver' => 'local',
      'root' => storage_path('logs'),
  ],
  • Finally, register the package's Service Provider in your app.php configuration file by adding the following to the providers array
Georgesdoe\Weblog\WeblogServiceProvider::class,

Configuration

You are can modify the views as you wish after publishing them, or even use the routes as an API for your own front-end., (*2)

In the weblog.php configuration file, you can also configure the route prefix (which is "logs" by default) and the middleware to use for these routes., (*3)

You should change the middleware to one that requires authentication so your logs aren't exposed, (*4)

The Versions

25/03 2018

dev-master

9999999-dev

A simple utility to view your application's logs online

  Sources   Download

BSD-3-Clause BSD 3-Clause

by George Fourmouzis