PHPackages                             agungdhewe/phplogger - 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. agungdhewe/phplogger

ActiveLibrary

agungdhewe/phplogger
====================

logger untuk PHP

v1.2(1y ago)0871GPL-3.0-or-laterPHPPHP ^8.2

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/agungdhewe/phplogger)[ Packagist](https://packagist.org/packages/agungdhewe/phplogger)[ RSS](/packages/agungdhewe-phplogger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (11)Used By (1)

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

[](#php-logger)

Simple logger for php

Install
-------

[](#install)

```
composer require agungdhewe/phplogger

```

Example
-------

[](#example)

### Output to Screen and record in log.txt

[](#output-to-screen-and-record-in-logtxt)

```
use AgungDhewe\PhpLogger\Log;

Log::Info("Hello World");
Log::Debug("test debug");

```

### Output to File Only

[](#output-to-file-only)

```
use AgungDhewe\PhpLogger\Log;
use AgungDhewe\PhpLogger\Logger;
use AgungDhewe\PhpLogger\LoggerOutput;

Logger::SetOutput(LoggerOutput::FILE);

Log::Info("Hello World");
Log::Debug("test debug");
Log::Error("test error");

```

### Change log filename

[](#change-log-filename)

```
use AgungDhewe\PhpLogger\Log;
use AgungDhewe\PhpLogger\Logger;
use AgungDhewe\PhpLogger\LoggerOutput;

Logger::SetOutput(LoggerOutput::FILE);
Logger::SetFilepath(__DIR__ . "/myownlog.txt");

Log::Info("Hello World");
Log::Debug("test debug");
Log::Error("test error");

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance43

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~10 days

Recently: every ~17 days

Total

8

Last Release

483d ago

PHP version history (2 changes)v1.1.2PHP ^8.3

v1.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fdb99b014c020c5a07753790ea36dcbbfe2a3c117c3d266ddf086db51510ff6?d=identicon)[agung\_dhewe@yahoo.com](/maintainers/agung_dhewe@yahoo.com)

---

Top Contributors

[![agungdhewe](https://avatars.githubusercontent.com/u/16076253?v=4)](https://github.com/agungdhewe "agungdhewe (29 commits)")

### Embed Badge

![Health badge](/badges/agungdhewe-phplogger/health.svg)

```
[![Health](https://phpackages.com/badges/agungdhewe-phplogger/health.svg)](https://phpackages.com/packages/agungdhewe-phplogger)
```

PHPackages © 2026

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