sarfraznawaz2005 / applog
Laravel package to view application logs inside browser.
Installs: 77
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:HTML
Requires
- illuminate/support: ~5.1
This package is auto-updated.
Last update: 2024-10-24 18:40:05 UTC
README
Laravel AppLog is a package to view application logs. It is based on rap2hpoutre/laravel-log-viewer but differs in following points:
- No multiple log files, we only look for
laravel.log
file. - Updated styling and icons
- Ability to filter records by error type/level, date and context
- Auto-discovery feature for Laravel 5.5
Screenshot
Requirements
- PHP >= 5.6
- Laravel 5
Installation
Install via composer
composer require sarfraznawaz2005/applog
Now add a route in your web routes file:
Route::get('applog', '\Sarfraznawaz2005\Applog\ApplogController@index');
This way logs will be available at http://yourapp/applog
or whatever route you set for it.
Laravel 5.5
You are done.
Laravel 5.4 or less
Add Service Provider to config/app.php
in providers
section
Sarfraznawaz2005\Applog\ApplogServiceProvider::class,
Optionally run php artisan vendor:publish
to publish package's view file if you wish to customize look and feel of it.
License
This code is published under the MIT License. This means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.