PHPackages                             armandob/psr-log4php - 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. armandob/psr-log4php

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

armandob/psr-log4php
====================

A PSR-3-compliant log4php-wrapper.

1.0.0.1(2y ago)029MITPHPPHP &gt;=5.6

Since Jun 17Pushed 2y agoCompare

[ Source](https://github.com/armando-basile/psr-log4php)[ Packagist](https://packagist.org/packages/armandob/psr-log4php)[ RSS](/packages/armandob-psr-log4php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d0a9114aa18558f837897f6746b9b9a037dc40cb0b1795d0ca012cd1f6846552/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f7073722d6c6f67347068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/psr-log4php/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/130e69f1086d746cbbcb30a9659193ae161c9d53ccfe7546cb3546e2a838a11e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f7073722d6c6f67347068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/psr-log4php/?branch=master)[![Build Status](https://camo.githubusercontent.com/1c8ec8aceee12c1e704fca5449a9ed1ea9b688f4cd35827e5d60fb14804e33e1/68747470733a2f2f7472617669732d63692e6f72672f61626163617068696c6961632f7073722d6c6f67347068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/abacaphiliac/psr-log4php)

abacaphiliac/psr-log4php
========================

[](#abacaphiliacpsr-log4php)

A PSR-3-compliant log4php-wrapper.

Installation
============

[](#installation)

```
composer require abacaphiliac/psr-log4php
```

Usage
=====

[](#usage)

```
$nonPsrLogger = \Logger::getLogger('MyLogger');
$psrLogger = new \Abacaphiliac\PsrLog4Php\LoggerWrapper($nonPsrLogger);

```

Dependencies
============

[](#dependencies)

See [composer.json](composer.json).

Contributing
------------

[](#contributing)

```
composer update && vendor/bin/phing

```

This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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

1058d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a76f477718fe508ca72dd358a262abc5119892990f203df467b9b5075f7b7773?d=identicon)[armandob](/maintainers/armandob)

---

Top Contributors

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

---

Tags

psrlogpsr-3loggingloggerPSR3apachelog4phpfig

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/armandob-psr-log4php/health.svg)

```
[![Health](https://phpackages.com/badges/armandob-psr-log4php/health.svg)](https://phpackages.com/packages/armandob-psr-log4php)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k6](/packages/inpsyde-wonolog)[markrogoyski/simplelog-php

Powerful PSR-3 logging. So easy, it's simple.

2818.1k4](/packages/markrogoyski-simplelog-php)[atrapalo/monolog-elasticsearch

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

1123.0k](/packages/atrapalo-monolog-elasticsearch)

PHPackages © 2026

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