PHPackages                             tijanidevit/php-logger - 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. tijanidevit/php-logger

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

tijanidevit/php-logger
======================

Simple customizable logger with web viewer, pagination, filtering, and security.

v1.0.0(1y ago)13MITPHPPHP &gt;=7.4

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tijanidevit/php-logger)[ Packagist](https://packagist.org/packages/tijanidevit/php-logger)[ RSS](/packages/tijanidevit-php-logger/feed)WikiDiscussions main Synced today

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

PHP Logger
==========

[](#php-logger)

A simple, customizable logger with a web-based log viewer that supports:

- ✅ Pagination
- ✅ Filtering by log level
- ✅ Search functionality
- ✅ Sorting by timestamp
- ✅ Optional password protection
- ✅ Easy publishing of config and viewer

📦 Installation
--------------

[](#-installation)

```
composer require tijanidevit/php-logger
```

🔧 Publishing Assets
-------------------

[](#-publishing-assets)

### Manual:

[](#manual)

```
composer run-script publish-logger-assets
```

### With `--auto` (forces overwrite or for CI):

[](#with---auto-forces-overwrite-or-for-ci)

```
composer run-script publish-logger-assets -- --auto
```

⚙️ Configuration
----------------

[](#️-configuration)

Edit `config/logger.php`:

```
return [
    'log_file' => __DIR__ . '/../storage/logs/app.log',
    'password' => 'password',
    'lines_per_page' => 100,
];
```

🔍 Log Viewer
------------

[](#-log-viewer)

Access via browser:

```
http://your-app.com/view-log.php?password=password

```

✏️ Usage Example
----------------

[](#️-usage-example)

```
use TijaniDevIt\Logger\Logger;

$logger = new Logger();
$logger->info("Starting process...");
$logger->warning("Something may be wrong.");
$logger->error("An error occurred.");
```

📜 License
---------

[](#-license)

MIT

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance44

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

443d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57565055?v=4)[Mustapha TIJANI](/maintainers/tijanidevit)[@tijanidevit](https://github.com/tijanidevit)

---

Top Contributors

[![tijanidevit](https://avatars.githubusercontent.com/u/57565055?v=4)](https://github.com/tijanidevit "tijanidevit (6 commits)")

### Embed Badge

![Health badge](/badges/tijanidevit-php-logger/health.svg)

```
[![Health](https://phpackages.com/badges/tijanidevit-php-logger/health.svg)](https://phpackages.com/packages/tijanidevit-php-logger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M342](/packages/open-telemetry-sdk)

PHPackages © 2026

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