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

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

fankiewing/laravel-log-viewer
=============================

Laravel Log Viewer

02PHP

Since Jul 28Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (1)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

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 74.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/11363e83e6a76f9cf75a6e6f809b7079d97dbffb491bcd5b2ea62df56b23e772?d=identicon)[fankiewing](/maintainers/fankiewing)

---

Top Contributors

[![jqhph](https://avatars.githubusercontent.com/u/20312339?v=4)](https://github.com/jqhph "jqhph (20 commits)")[![deMemory](https://avatars.githubusercontent.com/u/162716037?v=4)](https://github.com/deMemory "deMemory (4 commits)")[![fankiewing](https://avatars.githubusercontent.com/u/47618346?v=4)](https://github.com/fankiewing "fankiewing (2 commits)")[![lilashih](https://avatars.githubusercontent.com/u/55920306?v=4)](https://github.com/lilashih "lilashih (1 commits)")

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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