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

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

yuanrun/laravel-log-viewer
==========================

Laravel Log Viewer

v1.0(1y ago)06MITPHPPHP &gt;=7.0

Since Aug 15Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

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

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

 [![](https://camo.githubusercontent.com/ffe7adf17b1d38c79e0e81f80884e0e21f43129b2b96c7a123ea3bd032f09cb2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3733383944382e7376673f7374796c653d666c6174)](https://github.com/jqhph/laravel-log-viewer/blob/master/LICENSE) [ ![StyleCI](https://camo.githubusercontent.com/a0f468291b1a8883f44d51930cc9ef455d37fd0fcbebb8e65acf3e36277ba9db/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3231353733383739372f736869656c64) ](https://styleci.io/repos/215738797) [![](https://camo.githubusercontent.com/45dc26095bb2ad4f76d7d9dbc207e129d38a5afd8a389fcf0a3e14334a921dc1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a716870682f6c61726176656c2d6c6f672d7669657765722e7376673f636f6c6f723d343039394445)](https://github.com/jqhph/laravel-log-viewer/releases)

`Dcat Log Viewer`是一个`Laravel`日志查看工具，支持大文件日志的查看和搜索功能，更改自[laravel-admin-extensions/log-viewer](https://github.com/laravel-admin-extensions/log-viewer)。

[![](https://camo.githubusercontent.com/addc0c4b2e24da2d455fc35a408d465390b6ca9c1cd4ee9c8bd2a8bb4bc3d5ad/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323030372f30392f33383338392f355073336266686472522e706e67216c61726765)](https://camo.githubusercontent.com/addc0c4b2e24da2d455fc35a408d465390b6ca9c1cd4ee9c8bd2a8bb4bc3d5ad/68747470733a2f2f63646e2e6c6561726e6b752e636f6d2f75706c6f6164732f696d616765732f3230323030372f30392f33383338392f355073336266686472522e706e67216c61726765)

功能
--

[](#功能)

- 支持多层级目录
- 支持查看大文件日志
- 支持日志关键词检索
- 支持多层级目录文件名称搜索
- 支持下载功能
- 支持分页
- 支持手机页面

环境
--

[](#环境)

- PHP &gt;= 7
- laravel &gt;= 5.5

安装
--

[](#安装)

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

发布配置文件，此步骤可省略

```
php artisan vendor:publish --tag=dcat-log-viewer
```

然后访问 `http://hostname/dcat-logs` 即可

配置文件

```
return [
    'route' => [
        // 路由前缀
        'prefix'     => 'dcat-logs',
         // 命名空间
        'namespace'  => 'Dcat\LogViewer',
         // 中间件
        'middleware' => [],
    ],

    // 日志目录
    'directory' => storage_path('logs'),

    // 搜索页显示条目数（搜索后不分页，所以这个参数可以设置大一些）
    'search_page_items' => 500,

    // 默认每页条目数
    'page_items' => 30,
];
```

License
-------

[](#license)

[The MIT License (MIT)](LICENSE).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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

Unknown

Total

1

Last Release

636d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/372488f3361960a9d2dc91af261cf3c052a66519c8c3768173bd4f41bcd24b4b?d=identicon)[yuanrun1](/maintainers/yuanrun1)

---

Tags

laravellog viewer

### Embed Badge

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

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

###  Alternatives

[arcanedev/log-viewer

Provides a Log Viewer for Laravel

2.4k6.7M51](/packages/arcanedev-log-viewer)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)[kssadi/log-tracker

A powerful, intuitive, and efficient log viewer for Laravel applications.

264.8k](/packages/kssadi-log-tracker)

PHPackages © 2026

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