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

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

ttbooking/laravel-log-viewer
============================

A Laravel log reader

v2.6.0(1mo ago)071MITPHPPHP ^8.0CI passing

Since Mar 12Pushed 1mo agoCompare

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

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

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

[](#laravel-log-viewer)

[![Packagist](https://camo.githubusercontent.com/6bf705f78c4bf2d45fa039b3fcaa3e5295093fde3f518e74abdf48feaed29278/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7474626f6f6b696e672f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/ttbooking/laravel-log-viewer)[![Packagist](https://camo.githubusercontent.com/3441326954bedd61641357460761f6ff3274d377924a0ba86844e3e48cb8cd88/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7474626f6f6b696e672f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/ttbooking/laravel-log-viewer)[![Packagist](https://camo.githubusercontent.com/5f7d2807f520c206ddca1e66cc0750fe712505f3367a858fcfe947cde4e6c522/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7474626f6f6b696e672f6c61726176656c2d6c6f672d7669657765722e737667)](https://packagist.org/packages/ttbooking/laravel-log-viewer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2b98be6ed0174b924425f44db7980460d5db6a3bf0d472e4f41dd74d049530dc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261703268706f757472652f6c61726176656c2d6c6f672d7669657765722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rap2hpoutre/laravel-log-viewer/?branch=master)[![Author](https://camo.githubusercontent.com/8f00c56d5cd1a069c69dc564395195e64acb6d5f41d7662a8b23563d7011ef7d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4072617032682d626c75652e737667)](https://twitter.com/rap2h)

TL;DR
-----

[](#tldr)

Log Viewer for Laravel 9, 10, 11, 12 &amp; 13 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 ttbooking/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::class, 'index']);
```

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

### Install (Lumen)

[](#install-lumen)

Install via composer

```
composer require ttbooking/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`:

```
$router->group(['namespace' => '\Rap2hpoutre\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="Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider" \
  --tag=views
```

### Edit configuration

[](#edit-configuration)

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

```
php artisan vendor:publish \
  --provider="Rap2hpoutre\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

Maintenance89

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.5% 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 ~184 days

Total

5

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40a68a3f1473968f24ec70a09cd3a534f657a48e7d65ce187f8af3481c416ce0?d=identicon)[daniser](/maintainers/daniser)

---

Top Contributors

[![rap2hpoutre](https://avatars.githubusercontent.com/u/1575946?v=4)](https://github.com/rap2hpoutre "rap2hpoutre (145 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)")[![imanghafoori1](https://avatars.githubusercontent.com/u/6961695?v=4)](https://github.com/imanghafoori1 "imanghafoori1 (5 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 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)")[![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)")[![sergiy-petrov](https://avatars.githubusercontent.com/u/8986207?v=4)](https://github.com/sergiy-petrov "sergiy-petrov (2 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)")[![sdapkus](https://avatars.githubusercontent.com/u/58326108?v=4)](https://github.com/sdapkus "sdapkus (1 commits)")[![Solinx](https://avatars.githubusercontent.com/u/2049212?v=4)](https://github.com/Solinx "Solinx (1 commits)")[![susanBuck](https://avatars.githubusercontent.com/u/237711?v=4)](https://github.com/susanBuck "susanBuck (1 commits)")[![thdaguin](https://avatars.githubusercontent.com/u/61747970?v=4)](https://github.com/thdaguin "thdaguin (1 commits)")[![timothymarois](https://avatars.githubusercontent.com/u/2489333?v=4)](https://github.com/timothymarois "timothymarois (1 commits)")[![tmdh](https://avatars.githubusercontent.com/u/18123729?v=4)](https://github.com/tmdh "tmdh (1 commits)")[![xembill](https://avatars.githubusercontent.com/u/8319808?v=4)](https://github.com/xembill "xembill (1 commits)")[![djoeycl](https://avatars.githubusercontent.com/u/53512949?v=4)](https://github.com/djoeycl "djoeycl (1 commits)")

---

Tags

loglaravellogginglumenlog viewerlog-reader

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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