laxmidhar / log-lens
A beautiful, scalable Laravel log viewer package
v1.0.3
2026-02-23 11:08 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2026-03-23 11:17:33 UTC
README
Log Lens is a browser-based Laravel log viewer. It reads directly from storage/logs, streams files of any size without memory issues, and ships with a fully standalone dark UI that won't interfere with your application's frontend.
Installation
composer require laxmidhar/log-lens php artisan vendor:publish --tag=loglens-assets
Visit /logs.
Configuration
Publish the config:
php artisan vendor:publish --tag=loglens-config
// config/loglens.php return [ 'route_prefix' => 'logs', // e.g. 'admin/logs' 'middleware' => ['web'], 'max_entries' => 500, 'chunk_size' => 8192, ];
Customizing Views
php artisan vendor:publish --tag=loglens-views
Published to resources/views/vendor/loglens/.
Security
Log files can expose sensitive application data. In production, always restrict access:
'middleware' => ['web', 'auth'],
License
MIT — Laxmidhar Maharana
