PHPackages                             sgpinkus/simplelogger - 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. sgpinkus/simplelogger

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

sgpinkus/simplelogger
=====================

Very simple one class PSR-3 PHP logger that just logs to error\_log()

v0.1.0(5y ago)032MITPHP

Since May 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sgpinkus/SimpleLogger)[ Packagist](https://packagist.org/packages/sgpinkus/simplelogger)[ RSS](/packages/sgpinkus-simplelogger/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (2)Used By (2)

PHP SimpleLogger
================

[](#php-simplelogger)

Provides a single class,`Logger`, that implements a PSR-3 compatiable logger (Psr\\Log\\AbstractLogger) that just logs to error\_log().

This exists because core PHP or PSR don't provide a useful logger (like say Javascript's console, or Python's logger library) and many of the third party PSR-3 loggers are too bloated or opinionated. Plus there is no clear consensus on which to use as a pseudo standard (AFAIK). [PSR-3](http://www.php-fig.org/psr/psr-3/) only provides an interface Psr\\Log\\AbstractLogger. The Logger class provided by this package implements that as ~simply as possible with the constraint that logs should get piped through `error_log()`.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1839d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sgpinkus-simplelogger/health.svg)

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[open-telemetry/api

API for OpenTelemetry PHP.

1833.0M214](/packages/open-telemetry-api)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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