https://github.com/sarfraznawaz2005/applog
Laravel AppLog is a package to view application logs
https://github.com/sarfraznawaz2005/applog
laravel laravel-5-package logs php
Last synced: 17 days ago
JSON representation
Laravel AppLog is a package to view application logs
- Host: GitHub
- URL: https://github.com/sarfraznawaz2005/applog
- Owner: sarfraznawaz2005
- License: mit
- Created: 2018-01-19T13:15:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T12:37:12.000Z (over 6 years ago)
- Last Synced: 2025-02-15T05:16:30.498Z (2 months ago)
- Topics: laravel, laravel-5-package, logs, php
- Language: HTML
- Size: 430 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel AppLog
[](https://packagist.org/packages/sarfraznawaz2005/applog)
Laravel AppLog is a package to view application logs. It is based on [rap2hpoutre/laravel-log-viewer](https://github.com/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:
```php
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
```php
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](http://opensource.org/licenses/MIT).
This means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.