PHPackages                             uga/php4logger-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. uga/php4logger-bundle

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

uga/php4logger-bundle
=====================

php4logger log your object with symfony2

1.0(9y ago)0272.0kMITPHPPHP &gt;=5.2

Since Feb 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nfouka/PHP4LoggerApache)[ Packagist](https://packagist.org/packages/uga/php4logger-bundle)[ Docs](https://github.com/nfouka)[ RSS](/packages/uga-php4logger-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP4LoggerApache
================

[](#php4loggerapache)

[![](https://github.com/nfouka/PHP4LoggerApache/raw/master/log4php.png?raw=true)](https://github.com/nfouka/PHP4LoggerApache/blob/master/log4php.png?raw=true)

Bundle for logger Object for Symfony2 ```shell \_\_\_\_ \_ \_ \_ \_ \_\_ | \_ \\| |\_\_ \_ \_\_ | || | | | \_\_\_ \_\_ \_ \_\_ \_ \_\_\_ \_ \_\_ / \_| \_\_\_ \_ \_\_ | |\_) | '\_ \\| '\_ \\| || |\_| | / \_ \\ / \_` |/ \_` |/ \_ \\ '\_\_| | |\_ / \_ \\| '\_\_| | \_\_/| | | | |\_) |\_\_ \_| |\_\_| (\_) | (\_| | (\_| | \_\_/ | | \_| (\_) | | |\_| |\_| |\_| .\_\_/ |\_| |\_\_\_\_\_\\\_\_\_/ \\\_\_, |\\\_\_, |\\\_\_\_|\_| |\_| \\\_\_\_/|\_| |\_| |\_\_\_/ |\_\_\_/ \_\_\_\_ \_\_ \_ / \_\_\_| \_ \_ \_ \_\_ \_\_\_ / \_| \_\_\_ \_ \_\_ \_ \_ | |\_\_ \_ \_ \\\_\_\_ \\| | | | '\_ ` \_ \\| |\_ / \_ \\| '\_ \\| | | | | '\_ \\| | | | \_\_\_) | |\_| | | | | | | \_| (\_) | | | | |\_| | | |\_) | |\_| | |\_\_\_\_/ \\\_\_, |\_| |\_| |\_|\_| \\\_\_\_/|\_| |\_|\\\_\_, | |\_.\_\_/ \\\_\_, | |\_\_\_/ |\_\_\_/ |\_\_\_/ \_\_\_\_ \_ \_\_\_\_\_ \_\_\_\_ | \_ \\| | \_\_ \_ \_ \_\_ \_\_|\_ \_| \_ \\ \_\_\_\_\_ \_\_ | |\_) | |/ \_` | '\_ \\ / \_ \\| | | | | |/ \_ \\ \\ / / | \_\_/| | (\_| | | | | \_\_/| | | |\_| | \_\_/\\ V / |\_| |\_|\\\_\_,\_|\_| |\_|\\\_\_\_||\_| |\_\_\_\_/ \\\_\_\_| \\\_/ ``` How to install ?
----------------

[](#how-to-install-)

Just add this bundle with :

```
composer require uga/php4logger-bundle
```

Enable it in the Kernel

```
new uga\Php4LoggerApacheBundle\ugaPhp4LoggerApacheBundle(),
```

How to make it ?
----------------

[](#how-to-make-it--)

In your controller:

```
        $em = $this->getDoctrine()->getEntityManager() ;  // Object
        $logger = $this->container->get('uga_php4_logger_apache')->getLogger() ;
        $logger->info($em); // info
        $logger->error($em); // error
        $logger->warn($em); // warning
        }
```

Result with color in terminal
-----------------------------

[](#result-with-color-in-terminal)

```
tail -f /tmp/error.log |
sed -e 's/\(.*INFO.*\)/\o033[36m\0/' \
    -e 's/\(.*ERROR.*\)/\o033[31m\0/' \
    -e 's/\(.*WARN.*\)/\o033[33m\0/'
```

Demo
----

[](#demo)

[![](https://github.com/nfouka/PHP4LoggerApache/raw/master/demo.png?raw=true)](https://github.com/nfouka/PHP4LoggerApache/blob/master/demo.png?raw=true)

Information:
------------

[](#information)

- Programmer site :
- Web Site :

Contact Me
----------

[](#contact-me)

Nadir Fouka &lt;  &gt;

- Web Developer Grenoble Alpes University 2017
- Data Scientist Planet@Dev

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/086c47a41f726b0390852dfe4925f1746724a5cc23d49376c985f4f3f28f07be?d=identicon)[nfouka](/maintainers/nfouka)

---

Top Contributors

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

---

Tags

logger

### Embed Badge

![Health badge](/badges/uga-php4logger-bundle/health.svg)

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

###  Alternatives

[analog/analog

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

3451.5M24](/packages/analog-analog)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[apix/log

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

511.0M18](/packages/apix-log)

PHPackages © 2026

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