This package is not by any means any replacement for error tracking softwares such as Sentry and Bugsnag or debugging tools like Ray or Xdebug. It is simply web channel for laravel/lumen file-based logs.
Visit Here to preview online playground.
You can install the package via composer:
composer require mojtabaahn/laravel-web-logs
publish the assets with:
php artisan vendor:publish --provider="Mojtabaahn\LaravelWebLogs\Providers\LaravelWebLogsServiceProvider" --tag="web-logs-assets"
You can optianally publish the config file with:
php artisan vendor:publish --provider="Mojtabaahn\LaravelWebLogs\Providers\LaravelWebLogsServiceProvider" --tag="config"
This is the contents of the published config file:
return [
'enabled' => env('APP_DEBUG', true),
'lines_per_page' => env('WEB_LOGS_LINES_PER_PAGE', 1000)
];
- Add option to auto-append new logs (like
tail -f
) - Lazy-load/Infinite-scroll for big files
- Add guard for accessing routes
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.