PHPackages                             atlas-wong/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. atlas-wong/laravel-log-viewer

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

atlas-wong/laravel-log-viewer
=============================

A Laravel log reader

0.11.1(8y ago)018.3k↓85.7%MITPHPPHP &gt;=5.4.0

Since Nov 24Pushed 8y agoCompare

[ Source](https://github.com/atlas-wong/laravel-log-viewer)[ Packagist](https://packagist.org/packages/atlas-wong/laravel-log-viewer)[ RSS](/packages/atlas-wong-laravel-log-viewer/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (45)Used By (0)

Laravel 5 log viewer
====================

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

![Packagist](https://camo.githubusercontent.com/b8904eb3d1e58855e0a6e87635b4964451e39b1172919cd2b4c3eda8401b74c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61746c61732d776f6e672f6c61726176656c2d6c6f672d7669657765722e737667)

TL;DR
-----

[](#tldr)

Log Viewer for Laravel 5 (compatible with 4.2 too) and Lumen. **Install with composer, create a route to `LogViewerController`**. No public assets, no vendor routes, works with and/or without log rotate. Inspired by Rap2hpoutre 's [Laravel log viewer](https://github.com/rap2hpoutre/laravel-log-viewer) &amp; Micheal Mand's [Laravel 4 log viewer](https://github.com/mikemand/logviewer) (works only with laravel 4.1)

What ?
------

[](#what-)

Small log viewer for laravel. Looks like this:

[![capture d ecran 2014-12-01 a 10 37 18](https://cloud.githubusercontent.com/assets/1575946/5243642/8a00b83a-7946-11e4-8bad-5c705f328bcc.png)](https://cloud.githubusercontent.com/assets/1575946/5243642/8a00b83a-7946-11e4-8bad-5c705f328bcc.png)

Difference from rap2hpoutre's package
-------------------------------------

[](#difference-from-rap2hpoutres-package)

This fork allow customizing below setting:

- max\_file\_size
- search\_delay

Todo with this fork
-------------------

[](#todo-with-this-fork)

This fork would target on more customizable feature:

- visit audit log (db log)
- ttl of log files
- tbc

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

[](#install-laravel)

Install via composer

```
composer require atlas-wong/laravel-log-viewer

```

Add Service Provider to `config/app.php` in `providers` section (Laravel 5.4 or lower)

```
AtlasWong\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
```

Add a route in your web routes file:

```
Route::get('logs', '\AtlasWong\LaravelLogViewer\LogViewerController@index');
```

Go to `http://myapp/logs` or some other route

**Optionally** publish `laravel-log-viewer.php` into `/config` for config customization:

```
php artisan vendor:publish --provider="AtlasWong\LaravelLogViewer\LaravelLogViewerServiceProvider" --tag=config

```

**Optionally** publish `log.blade.php` into `/resources/views/vendor/laravel-log-viewer/` for view customization:

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

```

Install (Lumen)
---------------

[](#install-lumen)

Install via composer

```
composer require AtlasWong/laravel-log-viewer

```

Add the following in `bootstrap/app.php`:

```
$app->register(\AtlasWong\LaravelLogViewer\LaravelLogViewerServiceProvider::class);
```

Explicitly set the namespace in `app/Http/routes.php`:

```
$app->group(['namespace' => '\AtlasWong\LaravelLogViewer'], function() use ($app) {
    $app->get('logs', 'LogViewerController@index');
});
```

Troubleshooting
---------------

[](#troubleshooting)

If you got a `InvalidArgumentException in FileViewFinder.php` error, it may be a problem with config caching. Double check installation, then run `php artisan config:clear`.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 63.1% 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

Every ~27 days

Recently: every ~58 days

Total

43

Last Release

3088d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29590700?v=4)[Atlas](/maintainers/atlas-wong)[@atlas-wong](https://github.com/atlas-wong)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (94 commits)")[![atlas-wong](https://avatars.githubusercontent.com/u/29590700?v=4)](https://github.com/atlas-wong "atlas-wong (24 commits)")[![apreiml](https://avatars.githubusercontent.com/u/350183?v=4)](https://github.com/apreiml "apreiml (6 commits)")[![Agontuk](https://avatars.githubusercontent.com/u/5656440?v=4)](https://github.com/Agontuk "Agontuk (3 commits)")[![cino](https://avatars.githubusercontent.com/u/2735602?v=4)](https://github.com/cino "cino (3 commits)")[![rtconner](https://avatars.githubusercontent.com/u/334533?v=4)](https://github.com/rtconner "rtconner (2 commits)")[![AnthonyPorthouse](https://avatars.githubusercontent.com/u/5079595?v=4)](https://github.com/AnthonyPorthouse "AnthonyPorthouse (2 commits)")[![mallardduck](https://avatars.githubusercontent.com/u/619938?v=4)](https://github.com/mallardduck "mallardduck (1 commits)")[![okaufmann](https://avatars.githubusercontent.com/u/4414498?v=4)](https://github.com/okaufmann "okaufmann (1 commits)")[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (1 commits)")[![peppeocchi](https://avatars.githubusercontent.com/u/4161743?v=4)](https://github.com/peppeocchi "peppeocchi (1 commits)")[![rafaelbeckel](https://avatars.githubusercontent.com/u/28917?v=4)](https://github.com/rafaelbeckel "rafaelbeckel (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![Solinx](https://avatars.githubusercontent.com/u/2049212?v=4)](https://github.com/Solinx "Solinx (1 commits)")[![abarreir](https://avatars.githubusercontent.com/u/1942346?v=4)](https://github.com/abarreir "abarreir (1 commits)")[![susanBuck](https://avatars.githubusercontent.com/u/237711?v=4)](https://github.com/susanBuck "susanBuck (1 commits)")[![ahuggins](https://avatars.githubusercontent.com/u/1791228?v=4)](https://github.com/ahuggins "ahuggins (1 commits)")[![CharlesHenry](https://avatars.githubusercontent.com/u/2974122?v=4)](https://github.com/CharlesHenry "CharlesHenry (1 commits)")[![eblount](https://avatars.githubusercontent.com/u/1424719?v=4)](https://github.com/eblount "eblount (1 commits)")[![ghobaty](https://avatars.githubusercontent.com/u/6379163?v=4)](https://github.com/ghobaty "ghobaty (1 commits)")

---

Tags

loglaravellogginglumenlog viewerlog-reader

### Embed Badge

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

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

###  Alternatives

[rap2hpoutre/laravel-log-viewer

A Laravel log reader

3.2k15.4M79](/packages/rap2hpoutre-laravel-log-viewer)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k127.1M203](/packages/sentry-sentry-laravel)[melihovv/laravel-log-viewer

A Laravel log viewer

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

An easy log reader and management tool for Laravel

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

fluent logger for laravel and lumen

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

PHPackages © 2026

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