laxmidhar/log-lens

A beautiful, scalable Laravel log viewer package

Maintainers

Package info

github.com/dante-san/log-lens

Language:Blade

pkg:composer/laxmidhar/log-lens

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.3 2026-02-23 11:08 UTC

This package is auto-updated.

Last update: 2026-03-23 11:17:33 UTC


README

Latest Version on Packagist Total Downloads PHP Laravel License

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.

Log Lens

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