PHPackages                             gtt/doctrine-auditable-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. [Database &amp; ORM](/categories/database)
4. /
5. gtt/doctrine-auditable-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

gtt/doctrine-auditable-bundle
=============================

Doctrine auditable bundle is alternative for DoctrineExtensions Loggable

5.0.0(4y ago)51.1k6[3 issues](https://github.com/GlobalTradingTechnologies/doctrine-auditable-bundle/issues)[1 PRs](https://github.com/GlobalTradingTechnologies/doctrine-auditable-bundle/pulls)MITPHPPHP ~8.0

Since Jun 5Pushed 1y ago6 watchersCompare

[ Source](https://github.com/GlobalTradingTechnologies/doctrine-auditable-bundle)[ Packagist](https://packagist.org/packages/gtt/doctrine-auditable-bundle)[ RSS](/packages/gtt-doctrine-auditable-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (12)Versions (24)Used By (0)

Doctrine Auditable Bundle helps tracking changes and history of objects
=======================================================================

[](#doctrine-auditable-bundle-helps-tracking-changes-and-history-of-objects)

Auditable behavioral implementation helps tracking changes and history of objects. **Fast** and **lightweight** alternative for DoctrineExtensions Loggable with some features. Supports only ORM.

Features
========

[](#features)

- Group of changes
- Comments for changes
- Convenient store (tracked values before and after change stored in the separated columns, instead serialized entity data in the Loggable)
- Supports custom DBAL types
- Supports class inheritance configuration

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

[](#installation)

1. Install bundle

```
composer require "gtt/doctrine-auditable-bundle"

```

2. Add to Kernel.php

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Gtt\Bundle\DoctrineAuditableBundle\DoctrineAuditableBundle(),
    );
    ...
}
```

3. Create tables for changes storing

```
bin/console doctrine:schema:update --force

```

4. Configure mapping if needed.

Usage
=====

[](#usage)

Add attributes for tracking property

```
