PHPackages                             beutsing/log-entry-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. beutsing/log-entry-bundle

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

beutsing/log-entry-bundle
=========================

Recording of user activities.

1.0.2(2mo ago)023MITPHP

Since Feb 17Pushed 2mo agoCompare

[ Source](https://github.com/BEUTSING/logentry-bundle)[ Packagist](https://packagist.org/packages/beutsing/log-entry-bundle)[ RSS](/packages/beutsing-log-entry-bundle/feed)WikiDiscussions main Synced 1mo ago

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

LogEntryBundle est un bundle Symfony permettant de journaliser les actions des utilisateurs dans une application.

Il permet d'enregistrer :

✅ L'utilisateur (ou anonymous)

✅ L'action effectuée ( CREATE, UPDATE, DELETE, etc.)

✅ L'entité concernée

✅ Un message descriptif

✅ La date et l'heure (via l'Entité)

\*\* Installation

⚠️ Important : Cette documentation décrit l’installation et l’utilisation du bundle en local uniquement (via Path Repository). Le bundle n’est pas encore publié sur Packagist. Cette procédure est donc destinée aux tests et au développement local.

1️⃣ Ajouter le bundle en local (Path Repository)

Si le bundle est en local (non publié sur Packagist), ajoute ceci dans le composer.json de votre projet Symfony :

"repositories": \[ { "type": "path", "url": "../log-entry-bundle" } \],

\*\* Le chemin ../log-entry-bundledoit pointer vers le dossier de ton bundle.

2️⃣ Installer le bundle

composer require beutsing/log-entry-bundle:@dev

3️⃣ Mettre à jour la base de données

⚠️ Important : La création de la base de données n’est pas incluse dans le bundle. Elle est nécessaire uniquement si vous n’avez pas encore de base configurée et que vous souhaitez tester le bundle.

Créer la base si nécessaire php bin/console doctrine:database:create

Cette étape est requise uniquement si aucune base de données n’existe encore dans votre projet Symfony.

Mettre à jour le schéma php bin/console doctrine:schema:update --force

Ou si vous utilisez les migrations php bin/console doctrine:migrations:diff php bin/console doctrine:migrations:migrate

\*\* Utilisation exmple

Injecte le service LogEntryServicedans

log( 'CREATE', 'Test de création de log', 'TestLogController' ); return new Response('Log créé avec succès !'); } } \*\* Méthode disponible log(string $action, string $message, ?string $entityName = null): void Paramètres : Paramètre Description $action Type d'action (CRÉER, METTRE À JOUR, SUPPRIMER…) $message Message descriptif $entityName Nom de l'entité concernée (optionnel) \*\* Fonctionnement interne Le service : Récupère l'utilisateur connecté viaSecurity Crée une entitéLogEntry Persiste automatiquement en base via Doctrine Sauvegarde immédiate avecflush() \*\* Compatibilité PHP ≥ 8.2 Symfony ≥ 7.4 Doctrine ORM ≥ 3.0 🛠 Exemple dans un Service $this-&gt;logEntryService-&gt;log( 'UPDATE', 'Produit modifié: '.$product-&gt;getProductname(), Product::class );

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance84

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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

Every ~11 days

Total

3

Last Release

69d ago

### Community

Maintainers

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

---

Top Contributors

[![BEUTSING](https://avatars.githubusercontent.com/u/177427346?v=4)](https://github.com/BEUTSING "BEUTSING (17 commits)")

### Embed Badge

![Health badge](/badges/beutsing-log-entry-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/beutsing-log-entry-bundle/health.svg)](https://phpackages.com/packages/beutsing-log-entry-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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