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

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

pavloniym/laravel-log-viewer
============================

Fast and easy-to-use log viewer for your Laravel application

v1.3.3(10mo ago)021MITPHPPHP ^8.0

Since Jun 25Pushed 10mo agoCompare

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

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

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

[](#laravel-log-viewer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/34657eb32ceee3229f14fd686c1d892feb59acd93942ece5c7d764e145e35cbd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746570616e656e6b6f332f6c61726176656c2d6c6f672d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stepanenko3/laravel-log-viewer)[![Total Downloads](https://camo.githubusercontent.com/befa8d822d107fbb1d071af8009ef5fab183e8a560648bfc7ed043f76bc00933/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746570616e656e6b6f332f6c61726176656c2d6c6f672d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stepanenko3/laravel-log-viewer)[![License](https://camo.githubusercontent.com/1477ad943f02735e26c160df42106f4be308e3135ee992152a1583dab15bde2a/68747470733a2f2f706f7365722e707567782e6f72672f73746570616e656e6b6f332f6c61726176656c2d6c6f672d7669657765722f6c6963656e7365)](https://packagist.org/packages/stepanenko3/laravel-log-viewer)

Description
-----------

[](#description)

[Log Viewer](https://github.com/opcodesio/log-viewer) version without UI and with some modifications

Features
--------

[](#features)

- Without UI (Without frontend)
- Support subfolders
- Files sorting by name, size, modification time
- Using [custom pagination](https://github.com/stepanenko3/laravel-pagination)

Requirements
------------

[](#requirements)

- `php: >=8.0`

Installation
------------

[](#installation)

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

Usage
-----

[](#usage)

```
use Stepanenko3\LaravelLogViewer\LogViewer;
use Stepanenko3\LaravelLogViewer\LogFile;

// Getting all log files
LogViewer::getFiles();

// Get specific log file by name
LogViewer::getFile('laravel.log');

// Clear cache of all files
LogViewer::clearCacheAll();

// Download specific log file by name
LogFile::download('laravel.log');

// Delete specific log file by name
LogFile::delete('laravel.log');

// Clear cache for specific log file by name
LogFile::clearCache('laravel.log');

// Query logs
LogFile::get(
    selectedFileName: 'laravel.log', // File name
    query: 'exception[0-9]+', // Filter logs by regex query string
    selectedLevels: ['warning', 'alert'], // Filter logs by level
    page: 2, // Page
    perPage: 25, // Logs per page
    direction: LogFile::NEWEST_FIRST, // Logs order. NEWEST_FIRST::OLDEST_FIRST,
);
```

Credits
-------

[](#credits)

- [Artem Stepanenko](https://github.com/stepanenko3)
- [Arunas Skirius](https://github.com/arukompas)

Contributing
------------

[](#contributing)

Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance54

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Unknown

Total

1

Last Release

321d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60f2554666408e1fdb9afac6f2ad657382a942e4e9998fd90ee4f27cd32ee90f?d=identicon)[pavloniym](/maintainers/pavloniym)

---

Top Contributors

[![stepanenko3](https://avatars.githubusercontent.com/u/31134245?v=4)](https://github.com/stepanenko3 "stepanenko3 (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![pavloniym](https://avatars.githubusercontent.com/u/17234942?v=4)](https://github.com/pavloniym "pavloniym (3 commits)")[![gbespyatykh](https://avatars.githubusercontent.com/u/5813183?v=4)](https://github.com/gbespyatykh "gbespyatykh (1 commits)")[![makowskid](https://avatars.githubusercontent.com/u/6271194?v=4)](https://github.com/makowskid "makowskid (1 commits)")[![negoziator](https://avatars.githubusercontent.com/u/2228675?v=4)](https://github.com/negoziator "negoziator (1 commits)")

---

Tags

laravellogslog viewerbetter-log-viewerlaravel-log-viewer

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[opcodesio/log-viewer

Fast and easy-to-use log viewer for your Laravel application

4.3k8.9M50](/packages/opcodesio-log-viewer)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)[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)
