laxmidhar/log-lens
最新稳定版本:v1.0.3
Composer 安装命令:
composer require laxmidhar/log-lens
包简介
A beautiful, scalable Laravel log viewer package
README 文档
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
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-23
