| Package Data | |
|---|---|
| Maintainer Username: | dipeshshihora |
| Maintainer Contact: | dipeshshihora@gmail.com (Dipesh Shihora) |
| Package Create Date: | 2025-11-27 |
| Package Last Update: | 2025-11-27 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-30 15:00:06 |
| Package Statistics | |
|---|---|
| Total Downloads: | 5 |
| Monthly Downloads: | 4 |
| Daily Downloads: | 1 |
| Total Stars: | 1 |
| Total Watchers: | 0 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Simple Log Viewer for Laravel 9, 10, 11 & 12 and Lumen. Install with composer, create a route to LogViewerController. No public assets, optional view/config publishing.
Install via composer:
composer require dipeshshihora/laravel-log-viewer
If your app does not use package auto-discovery, add the Service Provider to config/app.php:
Dipesh\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
Add a route in your routes/web.php:
use Dipesh\LaravelLogViewer\LogViewerController;
Route::get('logs', [LogViewerController::class, 'index'])->name('logs.index');
Go to /logs.
Install via composer:
composer require dipeshshihora/laravel-log-viewer
Register in bootstrap/app.php:
$app->register(Dipesh\LaravelLogViewer\LaravelLogViewerServiceProvider::class);
Add route:
$router->get('logs', '\Dipesh\LaravelLogViewer\LogViewerController@index');
Publish the Blade view to resources/views/vendor/laravel-log-viewer/:
php artisan vendor:publish --provider="Dipesh\LaravelLogViewer\LaravelLogViewerServiceProvider" --tag=views
Publish the configuration file config/logviewer.php:
php artisan vendor:publish --provider="Dipesh\LaravelLogViewer\LaravelLogViewerServiceProvider" --tag=config
Options:
lines_per_page (default: 200)max_file_size (bytes; default: 50 MB) — skip rendering if largerpattern (string or array; glob(s) like *.log,*.log.gz)paths (array or comma/pipe-separated string) — multiple rootsstorage_path (fallback when paths not set)storage/logs. Ensure your app's auth/authorization protects the route in production.Notes:
logs/api/access.log.max_file_size as needed.MIT © dipeshshihora