PHPackages                             koderhut/onelog-bundle - 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. koderhut/onelog-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

koderhut/onelog-bundle
======================

A simplified way to inject loggers into objects for Symfony apps

1.2.0(7y ago)12.0k1[2 PRs](https://github.com/koderhut/onelog-bundle/pulls)MITPHPPHP &gt;=7.1

Since Jul 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/koderhut/onelog-bundle)[ Packagist](https://packagist.org/packages/koderhut/onelog-bundle)[ RSS](/packages/koderhut-onelog-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (8)Versions (6)Used By (0)

[![Build Status](https://camo.githubusercontent.com/22986be399fc3b3e4b328847b80a5b1ef3838c247a4c6c7950828664a2b7e098/68747470733a2f2f7472617669732d63692e6f72672f6b6f6465726875742f6f6e656c6f672d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/koderhut/onelog-bundle)[![Coverage Status](https://camo.githubusercontent.com/d492052a8c181b2453f91ae67847e63735d98b4676e4caca0246fe51244b599c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b6f6465726875742f6f6e656c6f672d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/koderhut/onelog-bundle?branch=master)[![GitHub](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)[![PHP from Travis config](https://camo.githubusercontent.com/9d245815c30188a34e60692f24442c3fe7e92f9958d8a7a1d6f7463e7ed866b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f73796d666f6e792f73796d666f6e792e737667)](https://camo.githubusercontent.com/9d245815c30188a34e60692f24442c3fe7e92f9958d8a7a1d6f7463e7ed866b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f73796d666f6e792f73796d666f6e792e737667)

Onelog Bundle
=============

[](#onelog-bundle)

This bundle will help with wrapping all monolog and other loggers in a Symfony app into a single logger entry point simplifying the logging needed in an app.

Usages
------

[](#usages)

- $onelog-&gt;debug('test', \[\]); &lt;-- wil proxy the data to the default logger, in case of Monolog the app logger is used
- $onelog-&gt;my\_logger-&gt;debug('test', \[\]); &lt;-- will forward the call to the logger my\_logger, in case of Monolog to the my\_logger channel
- \\OneLog::debug('test', \[\]); &lt;-- shortcut to the default logger instance
- \\OneLog::instance()-&gt;my\_logger-&gt;debug('test', \[\]); &lt;-- shortcut for accessing a specific logger instance

To be added:
------------

[](#to-be-added)

- $onelog-&gt;logObject($object, \[\]);

LICENSE
-------

[](#license)

Please review the LICENSE file

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~14 days

Total

5

Last Release

2793d ago

### Community

Maintainers

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

---

Top Contributors

[![rendler-denis](https://avatars.githubusercontent.com/u/1212958?v=4)](https://github.com/rendler-denis "rendler-denis (4 commits)")[![denis-rendler-evozon](https://avatars.githubusercontent.com/u/17849455?v=4)](https://github.com/denis-rendler-evozon "denis-rendler-evozon (2 commits)")[![joaojacome](https://avatars.githubusercontent.com/u/969041?v=4)](https://github.com/joaojacome "joaojacome (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/koderhut-onelog-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/koderhut-onelog-bundle/health.svg)](https://phpackages.com/packages/koderhut-onelog-bundle)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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