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

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

akymos/logger
=============

Logger for PHP

010PHP

Since Sep 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/akymos/logger)[ Packagist](https://packagist.org/packages/akymos/logger)[ RSS](/packages/akymos-logger/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#logger

**logger** is a simple PHP logger

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

[](#installation)

Add a dependency on `akymos/logger` to your `composer.json` file.

```
{
    "require": {
        "akymos/logger": "dev-master"
    }
}

```

\##Usage $log = new Log($enabled, $isHtml);

- $enabled bool true, enable logging
- $isHtml bool true, output is HTML

The log method are

```
$log->i($tag,$message); //INFO
$log->d($tag,$message); //DEBUG
$log->w($tag,$message); //WARNING
$log->e($tag,$message); //ERROR
$log->v($tag,$message); //VERBOSE

```

\##Example

```

OUTPUT:
error -> 2014-09-16 10:25:33.080 [test.php:4] example_tag: message_example

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/08f243ea86237b0e0abf0e9583fecb9a8030c04604168908a9aa70daa83d2cb6?d=identicon)[akymos](/maintainers/akymos)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

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

SDK for OpenTelemetry PHP.

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

PHPackages © 2026

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