PHPackages                             hcnx/log4php-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. hcnx/log4php-bundle

ActiveSymfony-bundle

hcnx/log4php-bundle
===================

Bundle Log4Php for Symfony

v1.0.0(5y ago)011MITPHPPHP ^7.1.3

Since May 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ldorazioHighCo/bundle_log4php)[ Packagist](https://packagist.org/packages/hcnx/log4php-bundle)[ RSS](/packages/hcnx-log4php-bundle/feed)WikiDiscussions main Synced 1w ago

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

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

[](#installation)

Assurez-vous que Composer est installé de manière globale, comme expliqué dans la section [chapitre sur l'installation](https://getcomposer.org/doc/00-intro.md)de la documentation relative à Composer.

### Etape 1: Ajouter le dépot Git du Bundle

[](#etape-1-ajouter-le-dépot-git-du-bundle)

Ouvrez votre composer.json de votre projet et copier le git du Bundle :

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://bitbucket.hcnx.eu/scm/hxweb/hcnx_bundle_log4php_symfony.git"
    }
]

```

Applications qui n'utilisent pas Symfony Flex
---------------------------------------------

[](#applications-qui-nutilisent-pas-symfony-flex)

### Etape 2: Télécharger le Bundle

[](#etape-2-télécharger-le-bundle)

Ouvrez une console de commande, entrez dans le répertoire de votre projet et exécutez la commande suivante commande suivante pour télécharger la dernière version stable de ce bundle :

```
$ composer require ldorazio/log4php-bundle
```

### Etapge 3: Activer le Bundle

[](#etapge-3-activer-le-bundle)

Ensuite, activez le bundle en l'ajoutant à la liste des bundles enregistrés dans le fichier `config/bundles.php` de votre projet :

```
// config/bundles.php

return [
    // ...
    hcnx\hcnx_bundle_symfony\Log4PhpBundle::class => ['all' => true],
];
```

### Etapge 4: Créer un fichier de config du Bundle

[](#etapge-4-créer-un-fichier-de-config-du-bundle)

Créer un fichier `config/packages/log4php.yaml` pour configurer :

- le chemin du package apache/log4php
- chemin du fichier de configuration (log4php.xml)

```
log4php:
  lib_path: '%env(log4php_path)%'
  config_path: '%kernel.project_dir%'
```

### Etapge 4: Créer un fichier de config du Bundle

[](#etapge-4-créer-un-fichier-de-config-du-bundle-1)

Créer un fichier de configuration a la racine du projet.

Exemple :

```

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1833d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hcnx-log4php-bundle/health.svg)

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

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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