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

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

laravel-helpers/laravel-log-viewer
==================================

A Laravel log reader

v0.11.0(8y ago)024MITPHPPHP &gt;=5.4.0

Since Nov 24Pushed 8y agoCompare

[ Source](https://github.com/laravel-helpers/laravel-log-viewer)[ Packagist](https://packagist.org/packages/laravel-helpers/laravel-log-viewer)[ RSS](/packages/laravel-helpers-laravel-log-viewer/feed)WikiDiscussions master Synced yesterday

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

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

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

![Packagist](https://camo.githubusercontent.com/505e8a855a8dd214284b40c027b0ac39bb9684cdffd5757f944f29fedda491fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667)[![Packagist](https://camo.githubusercontent.com/a2c226cea5b4865eb57d3cca3f4e8bc61c360e1a3e183be1c59448a5e7cefe89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/rap2hpoutre/laravel-log-viewer) ![Packagist](https://camo.githubusercontent.com/58a19e14d6d8a3f0fb7409f5ddf7a1d703993faf157de465d692873ed7e7aa99/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/2b98be6ed0174b924425f44db7980460d5db6a3bf0d472e4f41dd74d049530dc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-log-viewer/?branch=master) [![Build Status](https://camo.githubusercontent.com/ae68af402d6418f17379eae7cae72dbde4c2cc2c567daf9b1d272bbd270a6b92/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-log-viewer/build-status/master)[![SensioLabsInsight](https://camo.githubusercontent.com/e22772db33cac467f0991f20494837dc43eb36defe8090ffcc98ba91589ccbe5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32393734663030372d666638342d343161372d383935342d3763646134316361356638342f6d696e692e706e67)](https://insight.sensiolabs.com/projects/2974f007-ff84-41a7-8954-7cda41ca5f84)

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

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

[](#install-laravel)

Install via composer

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

```

Add Service Provider to `config/app.php` in `providers` section

```
Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
```

Add a route in your web routes file:

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

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

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

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

```

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

[](#install-lumen)

Install via composer

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

```

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

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

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

```
$app->group(['namespace' => '\Rap2hpoutre\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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 75.2% 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 ~26 days

Recently: every ~43 days

Total

42

Last Release

3098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63f1915b408d51b07a2ac0ee8e72abed93d51870098250d91a8be2a805f44bde?d=identicon)[laravel-helpers](/maintainers/laravel-helpers)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (94 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)")[![AnthonyPorthouse](https://avatars.githubusercontent.com/u/5079595?v=4)](https://github.com/AnthonyPorthouse "AnthonyPorthouse (2 commits)")[![rtconner](https://avatars.githubusercontent.com/u/334533?v=4)](https://github.com/rtconner "rtconner (2 commits)")[![jeremykenedy](https://avatars.githubusercontent.com/u/6244570?v=4)](https://github.com/jeremykenedy "jeremykenedy (1 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/laravel-helpers-laravel-log-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-helpers-laravel-log-viewer/health.svg)](https://phpackages.com/packages/laravel-helpers-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)
