PHPackages                             cris/avanaudit-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. cris/avanaudit-bundle

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

cris/avanaudit-bundle
=====================

Audit bundle for symfony2 and doctrine orm, logs any database change

07PHP

Since Aug 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cgarciaramirezrty/cris-audit-avan)[ Packagist](https://packagist.org/packages/cris/avanaudit-bundle)[ RSS](/packages/cris-avanaudit-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Audit bundle
============

[](#audit-bundle)

This bundle creates an audit log for all doctrine ORM database related changes:

- inserts and updates including their diffs and relation field diffs.
- many to many relation changes, association and dissociation actions.
- if there is an user in token storage, it will link him to the log.
- the audit entries are inserted within the same transaction during **flush**, if something fails the state remains clean.

Basically you can track any change from these log entries if they were managed through standard **ORM** operations.

**NOTE:** audit cannot track DQL or direct SQL updates or delete statement executions.

Install
-------

[](#install)

First, install it with composer:

```
composer require data-dog/audit-bundle

```

Then, add it in your **AppKernel** bundles.

Demo
----

[](#demo)

The best way to see features is to see the actual demo. Just clone the bundle and run:

```
make

```

Visit **** to see the log actions.

The demo application source is available in **example** directory and it is a basic symfony application.

Usage
-----

[](#usage)

**audit** entities will be mapped automatically if you run schema update or similar. And all the database changes will be reflected in the audit log afterwards.

Screenshots
-----------

[](#screenshots)

All paginated audit log: [![Screenshot](https://camo.githubusercontent.com/3f96b6705ef6537725340d0d9dbfcc1670751876ac3d2e61487bb3d2fcd23b5d/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974312e706e67)](https://camo.githubusercontent.com/3f96b6705ef6537725340d0d9dbfcc1670751876ac3d2e61487bb3d2fcd23b5d/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974312e706e67)

Clicked on history reference for specific resource: [![Screenshot](https://camo.githubusercontent.com/0d31a7e7992befd7121d554660bc0d88d13fd4cb2132c6c682df8c88fa90dd5a/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974322e706e67)](https://camo.githubusercontent.com/0d31a7e7992befd7121d554660bc0d88d13fd4cb2132c6c682df8c88fa90dd5a/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974322e706e67)

Showing insert data: [![Screenshot](https://camo.githubusercontent.com/12b4d644096ef9972a7db938adf4fc90159acdfdbe8b05b7a531233535f7e20d/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974332e706e67)](https://camo.githubusercontent.com/12b4d644096ef9972a7db938adf4fc90159acdfdbe8b05b7a531233535f7e20d/68747470733a2f2f7261772e6769746875622e636f6d2f444154412d444f472f44617461446f67417564697442756e646c652f6d61737465722f73637265656e73686f74732f6175646974332e706e67)

License
-------

[](#license)

The audit bundle is free to use and is licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10134930?v=4)[Crsitian Camilo Garcia](/maintainers/lordmacu)[@lordmacu](https://github.com/lordmacu)

---

Top Contributors

[![cgarciaramirezrty](https://avatars.githubusercontent.com/u/19910158?v=4)](https://github.com/cgarciaramirezrty "cgarciaramirezrty (3 commits)")

### Embed Badge

![Health badge](/badges/cris-avanaudit-bundle/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M262](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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