PHPackages                             dipeshshihora/laravel-log-viewer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. dipeshshihora/laravel-log-viewer

ActiveLaravel-package[Logging &amp; Monitoring](/categories/logging)

dipeshshihora/laravel-log-viewer
================================

Simple Laravel log viewer.

v1.1.0(5mo ago)16MITPHPPHP ^7.2|^8.0

Since Nov 27Pushed 5mo agoCompare

[ Source](https://github.com/dipeshshihora/laravel-log-viewer)[ Packagist](https://packagist.org/packages/dipeshshihora/laravel-log-viewer)[ RSS](/packages/dipeshshihora-laravel-log-viewer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Dipesh Laravel Log Viewer
=========================

[](#dipesh-laravel-log-viewer)

Simple Log Viewer for Laravel 9, 10, 11 &amp; 12 and Lumen. Install with composer, create a route to `LogViewerController`. No public assets, optional view/config publishing.

Install (Laravel)
-----------------

[](#install-laravel)

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 (Lumen)
---------------

[](#install-lumen)

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');
```

Advanced
--------

[](#advanced)

### Customize view

[](#customize-view)

Publish the Blade view to `resources/views/vendor/laravel-log-viewer/`:

```
php artisan vendor:publish --provider="Dipesh\LaravelLogViewer\LaravelLogViewerServiceProvider" --tag=views
```

### Edit configuration

[](#edit-configuration)

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 larger
- `pattern` (string or array; glob(s) like `*.log,*.log.gz`)
- `paths` (array or comma/pipe-separated string) — multiple roots
- `storage_path` (fallback when `paths` not set)

### Security note

[](#security-note)

- This controller reads files from `storage/logs`. Ensure your app's auth/authorization protects the route in production.

Notes:

- The UI is plain HTML+CSS (no frontend framework) and lists nested paths like `logs/api/access.log`.
- Very large files are skipped with a notice; adjust `max_file_size` as needed.

License
-------

[](#license)

MIT © dipeshshihora

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance70

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

167d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36ba72124fe050a1cc611ebf56543c473547f82b2ceddd2afddb68b395dd6adf?d=identicon)[dipeshshihora](/maintainers/dipeshshihora)

---

Top Contributors

[![dipeshshihora](https://avatars.githubusercontent.com/u/10988316?v=4)](https://github.com/dipeshshihora "dipeshshihora (3 commits)")

---

Tags

loglaravellogginglumenlog viewerlog-reader

### Embed Badge

![Health badge](/badges/dipeshshihora-laravel-log-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/dipeshshihora-laravel-log-viewer/health.svg)](https://phpackages.com/packages/dipeshshihora-laravel-log-viewer)
```

###  Alternatives

[rap2hpoutre/laravel-log-viewer

A Laravel log reader

3.2k14.7M71](/packages/rap2hpoutre-laravel-log-viewer)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
