PHPackages                             earthit/logging - 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. earthit/logging

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

earthit/logging
===============

Simple callback-based logging infrastructure

1.1.1(9y ago)04.3kMITPHPPHP &gt;=5.2

Since Jan 4Pushed 9y ago5 watchersCompare

[ Source](https://github.com/EarthlingInteractive/PHPLogging)[ Packagist](https://packagist.org/packages/earthit/logging)[ RSS](/packages/earthit-logging/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

EarthIT\_Logging
----------------

[](#earthit_logging)

This is an exceedingly simple framework for logging arbitrary events.

A logger is simply a function that is called with a single argument, which is a representation of the event to be logged. The only constraint is that said log event should be either a string or an object that supports \_\_toString.

One event class is predefined, EarthIT\_Logging\_AnnotatedEvent. This wraps another log event and associated metadata such as log level or begin and end times, which your logging function may look at.

A `LogHelperGears` trait is defind that makes it easier to create and log EarthIT\_Logging\_AnnotatedEvents by calling `$this->debug(...)`, `$this->log(...)`, or `$this->warn(...)`.

A few basic logging classes are provided, also.

###  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

Maturity60

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

3

Last Release

3463d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57142?v=4)[Dan Stevens](/maintainers/TOGoS)[@TOGoS](https://github.com/TOGoS)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/earthit-logging/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

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

SDK for OpenTelemetry PHP.

2328.5M323](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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