PHPackages                             endanguyen/laravel-logviewer - 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. endanguyen/laravel-logviewer

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

endanguyen/laravel-logviewer
============================

A Laravel log reader

0616PHP

Since Jul 5Pushed 7y agoCompare

[ Source](https://github.com/endanguyen/laravel-logviewer)[ Packagist](https://packagist.org/packages/endanguyen/laravel-logviewer)[ RSS](/packages/endanguyen-laravel-logviewer/feed)WikiDiscussions develop Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 log viewer (Clone from [rap2hpoutre/laravel-log-viewer#137](https://github.com/rap2hpoutre/laravel-log-viewer/issues/137))
====================================================================================================================================

[](#laravel-5-log-viewer-clone-from-httpsgithubcomrap2hpoutrelaravel-log-viewerissues137)

[![Packagist](https://camo.githubusercontent.com/505e8a855a8dd214284b40c027b0ac39bb9684cdffd5757f944f29fedda491fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/rap2hpoutre/laravel-log-viewer)[![Packagist](https://camo.githubusercontent.com/a2c226cea5b4865eb57d3cca3f4e8bc61c360e1a3e183be1c59448a5e7cefe89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/rap2hpoutre/laravel-log-viewer)[![Packagist](https://camo.githubusercontent.com/58a19e14d6d8a3f0fb7409f5ddf7a1d703993faf157de465d692873ed7e7aa99/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/rap2hpoutre/laravel-log-viewer)[![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)[![Codacy Badge](https://camo.githubusercontent.com/cd8344120f9b30adbd25c818fbff9a9899e233f3dcd9d9c0f4e7a84daf953968/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3762653761303562303763393466333139656333356639356134643634303734)](https://www.codacy.com/app/rap2hpoutre/laravel-log-viewer)[![Author](https://camo.githubusercontent.com/8f00c56d5cd1a069c69dc564395195e64acb6d5f41d7662a8b23563d7011ef7d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4072617032682d626c75652e737667)](https://twitter.com/rap2h)

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

```
EndaLogView\LaravelLogViewer\LaravelLumenLogViewerServiceProvider::class,
```

Add a route in your web routes file:

```
Route::get('logs', '\EndaLogView\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="EndaLogView\LaravelLogViewer\LaravelLogViewerServiceProvider" \
  --tag=views

```

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

[](#install-lumen)

Install via composer

```
composer require endanguyen/laravel-logviewer

```

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

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

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

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38907555?v=4)[Enda Nguyen](/maintainers/endanguyen)[@endanguyen](https://github.com/endanguyen)

### Embed Badge

![Health badge](/badges/endanguyen-laravel-logviewer/health.svg)

```
[![Health](https://phpackages.com/badges/endanguyen-laravel-logviewer/health.svg)](https://phpackages.com/packages/endanguyen-laravel-logviewer)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.0k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M265](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M323](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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