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

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

nmfmcosta/laravel-log-viewer
============================

A Laravel log reader

v1.2.0(3mo ago)014.6k↑14.4%MITPHPPHP &gt;=5.4.0

Since Jan 11Pushed 3mo agoCompare

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

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

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

[](#laravel-log-viewer)

This is a fork from  v1.7.0 updated to work on Laravel 9.

**All credits go the original authors.**

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

[](#install-laravel)

Install via composer

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

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

```
LB\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
```

Add a route in your web routes file:

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

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

### Install (Lumen)

[](#install-lumen)

Install via composer

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

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

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

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

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

Advanced usage
--------------

[](#advanced-usage)

### Customize view

[](#customize-view)

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

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

### Edit configuration

[](#edit-configuration)

Publish `logviewer.php` configuration file into `/config/` for configuration customization:

```
php artisan vendor:publish \
  --provider="LB\LaravelLogViewer\LaravelLogViewerServiceProvider"
```

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

43

—

FairBetter than 91% of packages

Maintenance78

Regular maintenance activity

Popularity26

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.7% 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 ~553 days

Total

3

Last Release

116d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6989039?v=4)[Nuno Costa](/maintainers/nmfmcosta)[@nmfmcosta](https://github.com/nmfmcosta)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (143 commits)")[![elminson](https://avatars.githubusercontent.com/u/2476286?v=4)](https://github.com/elminson "elminson (7 commits)")[![apreiml](https://avatars.githubusercontent.com/u/350183?v=4)](https://github.com/apreiml "apreiml (6 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 commits)")[![cino](https://avatars.githubusercontent.com/u/2735602?v=4)](https://github.com/cino "cino (3 commits)")[![Agontuk](https://avatars.githubusercontent.com/u/5656440?v=4)](https://github.com/Agontuk "Agontuk (3 commits)")[![sskl](https://avatars.githubusercontent.com/u/149003?v=4)](https://github.com/sskl "sskl (2 commits)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (2 commits)")[![nmfmcosta](https://avatars.githubusercontent.com/u/6989039?v=4)](https://github.com/nmfmcosta "nmfmcosta (2 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)")[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (1 commits)")[![Kussie](https://avatars.githubusercontent.com/u/4960791?v=4)](https://github.com/Kussie "Kussie (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![mallardduck](https://avatars.githubusercontent.com/u/619938?v=4)](https://github.com/mallardduck "mallardduck (1 commits)")[![mrahmadt](https://avatars.githubusercontent.com/u/957921?v=4)](https://github.com/mrahmadt "mrahmadt (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)")[![jakobjohansson](https://avatars.githubusercontent.com/u/21201123?v=4)](https://github.com/jakobjohansson "jakobjohansson (1 commits)")

---

Tags

loglaravellogginglumenlog viewerlog-reader

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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