PHPackages                             gayanhewa/log-view - 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. gayanhewa/log-view

ActiveLibrary

gayanhewa/log-view
==================

View Log files

1.0(11y ago)116MITPHP

Since Jan 9Pushed 11y ago1 watchersCompare

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

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

[![Build Status](https://camo.githubusercontent.com/c189a7bd6c68141e7530b615cd2470ea3abbafaddbdf37c0704b9295ccd82e79/68747470733a2f2f7472617669732d63692e6f72672f676179616e686577612f4c6f67566965772e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gayanhewa/LogView)[![Total Downloads](https://camo.githubusercontent.com/64f7ca29500ce2a720298c4c48cd13bb6899f420ab8a61d1390bb41c57f71ec8/68747470733a2f2f706f7365722e707567782e6f72672f6d617474686961736e6f6261636b2f6261646765732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/gayanhewa/log-views)

LogView
=======

[](#logview)

Simple PHP Library that lets you load your log files for viewing.

Useage :

```
        // Path to log files
        $path = __DIR__ . "/logs/";

        //Initialize the class
        $log = new Magelk\LogView();

        // Set Path
        $log->setPath($path);

        // Get file contents
        // $filename can be sent as a Request parameter
        $contents = $log->getContent($filename);

```

How to use the Examples
-----------------------

[](#how-to-use-the-examples)

Clone the Repository

```
    git clone https://github.com/gayanhewa/LogView.git

```

Navigate to the doc directory

```
    cd LogView/doc

```

Run the PHP Server

```
    php -S localhost:8080

```

Point your browser to  and test the code. You can add more files to doc/logs folder for testing.

- Released under [MIT license](License.md).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

4138d ago

Major Versions

0.1 → 1.02015-01-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/164cda3b5a01fc38e64ec300fd1b15c833a8380bed0844b1d590f6215884ac50?d=identicon)[gayanhewa](/maintainers/gayanhewa)

---

Top Contributors

[![gayanhewa](https://avatars.githubusercontent.com/u/1681406?v=4)](https://github.com/gayanhewa "gayanhewa (19 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/gayanhewa-log-view/health.svg)

```
[![Health](https://phpackages.com/badges/gayanhewa-log-view/health.svg)](https://phpackages.com/packages/gayanhewa-log-view)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M186](/packages/spatie-laravel-backup)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[illuminate/session

The Illuminate Session package.

9937.4M751](/packages/illuminate-session)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M368](/packages/laravel-zero-framework)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)

PHPackages © 2026

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