damienharper / auditor-bundle
Symfony bundle for auditor: automatic Doctrine ORM audit logs, entity change history and an audit log viewer (formerly DoctrineAuditBundle).
Package info
github.com/DamienHarper/auditor-bundle
Type:symfony-bundle
pkg:composer/damienharper/auditor-bundle
Requires
- php: ^8.4
- ext-intl: *
- damienharper/auditor: ^5.0
- damienharper/auditor-doctrine-provider: ^2.0
- doctrine/dbal: ^4.0
- doctrine/doctrine-bundle: ^3.0
- doctrine/orm: ^3.2
- symfony/asset: ^8.1
- symfony/doctrine-bridge: ^8.1
- symfony/event-dispatcher: ^8.1
- symfony/lock: ^8.1
- symfony/security-bundle: ^8.1
- symfony/translation: ^8.1
- symfony/twig-bundle: ^8.1
- twig/extra-bundle: ^3.3 || ^4.0
- twig/intl-extra: ^3.3 || ^4.0
Requires (Dev)
- dragonmantank/cron-expression: ^3.4
- gedmo/doctrine-extensions: ^3.0
- matthiasnoback/symfony-dependency-injection-test: ^6.0
- nyholm/symfony-bundle-test: ^3.0
- phpbench/phpbench: ^1.4
- phpunit/phpunit: ^13.4
- symfony/asset-mapper: ^8.1
- symfony/browser-kit: ^8.1
- symfony/css-selector: ^8.1
- symfony/framework-bundle: ^8.1
- symfony/messenger: ^8.1
- symfony/scheduler: ^8.1
- symfony/ux-twig-component: ^2.30
- symfony/validator: ^8.1
- symfony/var-dumper: ^8.1
- symfonycasts/tailwind-bundle: ^1.0
Suggests
- dragonmantank/cron-expression: Required for scheduled audit logs pruning (cron expressions)
- symfony/cache: Required for activity graph caching in the audit viewer
- symfony/scheduler: Required for scheduled audit logs pruning (providers.doctrine.retention.schedule)
- symfony/ux-twig-component: Required for the <twig:DhAuditor:History> component in the host application
Provides
None
Conflicts
None
Replaces
None
- dev-master / 8.x-dev
- 8.0.0
- 7.x-dev
- 7.3.1
- 7.3.0
- 7.2.2
- 7.2.1
- 7.2.0
- 7.1.0
- 7.0.1
- 7.0.0
- 6.x-dev
- 6.3.2
- 6.3.1
- 6.3.0
- 6.2.3
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.0
- 5.x-dev
- 5.3.0
- 5.2.6
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.1
- 5.1.0
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.2.0
- 4.1.0
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.x-dev
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.0
- 2.x-dev
- 2.5.0
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.x-dev
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-claude/project-thread-x75uec
This package is auto-updated.
Last update: 2026-11-27 22:00:29 UTC
README
auditor-bundle, formerly known as DoctrineAuditBundle integrates auditor library into any Symfony 8.1+ application.
It records every insert, update, removal and many-to-many change of your Doctrine ORM entities in
audit tables, with who made the change, when and how, and ships a web viewer to browse the history.
It pulls in auditor (the core) and
auditor-doctrine-provider (the Doctrine ORM provider).
Quick start
composer require damienharper/auditor-bundle
# config/packages/dh_auditor.yaml dh_auditor: providers: doctrine: entities: App\Entity\Post: ~
Then create the audit tables (bin/console doctrine:migrations:diff and doctrine:migrations:migrate).
See the installation guide
for the viewer routes and the full configuration.
Using an AI coding agent?
This package ships an Agent Skill in skills/auditor-bundle/
(vendor/damienharper/auditor-bundle/skills/ once installed) describing the bundle. The copy in vendor/ matches your installed version; the marketplace serves the current major.
With Claude Code:
/plugin marketplace add DamienHarper/auditor
/plugin install auditor-bundle@auditor
The documentation is also available as llms.txt.
Demo
You can try out this bundle by cloning its companion demo app. Follow instructions at auditor-bundle-demo.
Official Documentation
auditor-bundle official documentation can be found here.
Version Information
Changelog is available in the releases.
Upgrading
See UPGRADE-8.0.md for upgrade instructions from 7.x to 8.0 (the audit tables must be migrated), and UPGRADE-7.0.md from 6.x to 7.0.
Usage
Once installed and configured, any database change affecting audited entities will be logged to audit logs automatically. Also, running schema update or similar will automatically setup audit logs for every new auditable entity.
Contributing
auditor-bundle is an open source project. Contributions made by the community are welcome.
Send me your ideas, code reviews, pull requests and feature requests to help us improve this project.
Do not forget to provide unit tests when contributing to this project. To do so, follow instructions in this dedicated README
Credits
- Thanks to all contributors
License
auditor-bundle is free to use and is licensed under the MIT license