PHPackages                             vasily-kartashov/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. vasily-kartashov/log4php

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

vasily-kartashov/log4php
========================

A versatile logging framework for PHP

4.1.0(8y ago)826.5k12Apache-2.0PHPPHP &gt;=7.0

Since Oct 26Pushed 4y agoCompare

[ Source](https://github.com/vasily-kartashov/log4php)[ Packagist](https://packagist.org/packages/vasily-kartashov/log4php)[ Docs](http://logging.apache.org/log4php/)[ RSS](/packages/vasily-kartashov-log4php/feed)WikiDiscussions master Synced today

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

Log4PHP
=======

[](#log4php)

[![CI Status](https://github.com/vasily-kartashov/log4php/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/vasily-kartashov/log4php/workflows/CI/badge.svg?branch=master&event=push)[![Packagist](https://camo.githubusercontent.com/26f38632f6ee89c1860583b3320b99ddd970e259ed04242d582573e75fbcabb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766173696c792d6b6172746173686f762f6c6f67347068702e737667)](https://packagist.org/packages/vasily-kartashov/log4php)[![Packagist](https://camo.githubusercontent.com/a49c3194d39c51f4a0d19fcc4c14c3211f4e5906551d213336784af62d93bb45/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766173696c792d6b6172746173686f762f6c6f67347068702e737667)](https://packagist.org/packages/vasily-kartashov/log4php)[![Coverage Status](https://camo.githubusercontent.com/cd58e88ffacbf6721e1615947c87d4a39aee47e64eb49f4ac71c22d6c1dcf6f6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f766173696c792d6b6172746173686f762f6c6f67347068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/vasily-kartashov/log4php?branch=master)[![Psalm coverage](https://camo.githubusercontent.com/771a00e962afca597f07877dde1a1803ccff4d6648ef94825c791bb1650c205f/68747470733a2f2f73686570686572642e6465762f6769746875622f766173696c792d6b6172746173686f762f6c6f67347068702f636f7665726167652e7376673f)](https://camo.githubusercontent.com/771a00e962afca597f07877dde1a1803ccff4d6648ef94825c791bb1650c205f/68747470733a2f2f73686570686572642e6465762f6769746875622f766173696c792d6b6172746173686f762f6c6f67347068702f636f7665726167652e7376673f)

To do
=====

[](#to-do)

- Move tests into namespaces
- Extend test to cover all levels from PSR
- Remove exclusive locking as much as possible
- Builder pattern for log configuration
- Make sure that during substitutions there's no default casting issues (like array to string conversion)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~19 days

Total

34

Last Release

3164d ago

Major Versions

2.3.0 → 4.0.02017-05-23

PHP version history (2 changes)2.0.0PHP &gt;=5.2.7

4.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/875698?v=4)[vka](/maintainers/vasily-kartashov)[@vasily-kartashov](https://github.com/vasily-kartashov)

---

Top Contributors

[![grobmeier](https://avatars.githubusercontent.com/u/873786?v=4)](https://github.com/grobmeier "grobmeier (364 commits)")[![ihabunek](https://avatars.githubusercontent.com/u/482138?v=4)](https://github.com/ihabunek "ihabunek (297 commits)")[![vasily-kartashov](https://avatars.githubusercontent.com/u/875698?v=4)](https://github.com/vasily-kartashov "vasily-kartashov (111 commits)")[![gmcdonald](https://avatars.githubusercontent.com/u/287517?v=4)](https://github.com/gmcdonald "gmcdonald (19 commits)")[![jimjag](https://avatars.githubusercontent.com/u/84076?v=4)](https://github.com/jimjag "jimjag (5 commits)")[![huntervk](https://avatars.githubusercontent.com/u/138185050?v=4)](https://github.com/huntervk "huntervk (3 commits)")

---

Tags

logphplogging

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vasily-kartashov-log4php/health.svg)

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

###  Alternatives

[sentry/sentry

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

1.9k247.1M335](/packages/sentry-sentry)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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