PHPackages                             hi2rashid/codeigniter-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. hi2rashid/codeigniter-log-viewer

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

hi2rashid/codeigniter-log-viewer
================================

This is a simple Log Viewer for viewing Code Igniter log files on the browser

v1.1.0(7y ago)6384MITPHPPHP &gt;=5.6.4

Since Jul 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hi2rashid/codeigniter-log-viewer)[ Packagist](https://packagist.org/packages/hi2rashid/codeigniter-log-viewer)[ RSS](/packages/hi2rashid-codeigniter-log-viewer/feed)WikiDiscussions master Synced today

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

codeigniter-log-viewer
======================

[](#codeigniter-log-viewer)

Log Viewer for Codeigniter Application generated logs. Supports CI v3.1.9

Inspired by

Change Log:

Release version: v1.0.0 Date: 18-July-2018

- You can change the log viewer path by passing path as constructor.

How to Use it
=============

[](#how-to-use-it)

Install using composer

`composer require hi2rashid/codeigniter-log-viewer`

Copy following line of code to any of your Codeigniter Controller

Method 1 ()
-----------

[](#method-1-)

In `Welcome.php` Controller

```
public function index() {
    $CILogs = new \CILogViewer\CILogViewer("/var/log/localhost/");
    echo $CILogs->showLogs();
    return;
}

```

Method 2 ()
-----------

[](#method-2-)

In `Welcome.php` Controller

```
public function index() {
    $CILogs = new \CILogViewer\CILogViewer($this->config->item('ci_log_path'));
    echo $CILogs->showLogs();
    return;
}

```

In `application/config/config.php` Config file

```
$config['ci_log_path'] = "/var/log/localhost/ci_log_path"

```

Also you need to make sure the directories `/var/log/localhost/ci_log_path` created and writable

In Terminal : `sudo mkdir -p /var/log/localhost/ci_log_path``sudo chmod -Rf 777 /var/log/localhost/ci_log_path` (Make sure not to use 777 on production systems)

Auto Refresh the Log View page
------------------------------

[](#auto-refresh-the-log-view-page)

Just append `?rt=5000` (Example: ) (5 seconds)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~111 days

Total

2

Last Release

2792d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10250923?v=4)[hi2rashid](/maintainers/hi2rashid)[@hi2rashid](https://github.com/hi2rashid)

---

Top Contributors

[![hi2rashid](https://avatars.githubusercontent.com/u/10250923?v=4)](https://github.com/hi2rashid "hi2rashid (11 commits)")[![rashidtab](https://avatars.githubusercontent.com/u/6448293?v=4)](https://github.com/rashidtab "rashidtab (2 commits)")

---

Tags

phpcodeigniterlog viewerCode Igniter

### Embed Badge

![Health badge](/badges/hi2rashid-codeigniter-log-viewer/health.svg)

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

###  Alternatives

[seunmatt/codeigniter-log-viewer

This is a simple Log Viewer for viewing CodeIgniter log files on the browser

10789.0k1](/packages/seunmatt-codeigniter-log-viewer)[inspector-apm/inspector-symfony

Code Execution Monitoring for Symfony applications.

2836.4k9](/packages/inspector-apm-inspector-symfony)[melihovv/laravel-log-viewer

A Laravel log viewer

1031.6k1](/packages/melihovv-laravel-log-viewer)[eduardoarandah/backpacklogviewer

Integrate ArcaneDev/LogViewer in your Laravel-Backpack project

264.6k1](/packages/eduardoarandah-backpacklogviewer)

PHPackages © 2026

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