PHPackages                             kachnitel/auditor-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. kachnitel/auditor-bundle

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

kachnitel/auditor-bundle
========================

Fork of damienharper/auditor-bundle with additional features (AuditContext, AuditReader, Snapshot, EventAuditService, admin integration).

0.2.1(3mo ago)0198[1 issues](https://github.com/kachnitel/auditor-bundle/issues)MITPHPPHP &gt;=8.2CI failing

Since Jan 29Pushed 2mo agoCompare

[ Source](https://github.com/kachnitel/auditor-bundle)[ Packagist](https://packagist.org/packages/kachnitel/auditor-bundle)[ RSS](/packages/kachnitel-auditor-bundle/feed)WikiDiscussions master Synced today

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

kachnitel/auditor-bundle
========================

[](#kachnitelauditor-bundle)

Fork of [DamienHarper/auditor-bundle](https://github.com/DamienHarper/auditor-bundle) with additional features for audit context, request tracking, snapshots, and admin integration.

Documentation
-------------

[](#documentation)

- [Context &amp; Metadata](docs/CONTEXT.md) - Add notes, reasons, and request IDs to audits
- [Querying Audits](docs/READER.md) - Query audit entries with filters and timeline views
- [Snapshots](docs/SNAPSHOT.md) - Reconstruct entity state at any point in history
- [Domain Events](docs/EVENTS.md) - Create EVENT-type audits for business actions
- [Admin Integration](docs/ADMIN.md) - Browse audit logs in kachnitel/admin-bundle
- [Configuration](docs/CONFIGURATION.md) - Full configuration reference

For core auditing functionality, see the [original documentation](https://damienharper.github.io/auditor-docs/docs/auditor-bundle/index.html).

Features
--------

[](#features)

FeatureDescriptionAuditContextAdd metadata (notes, reasons) to audit entriesRequest ID TrackingCorrelate audits from the same HTTP requestUser TimelineView related user activity around an audit entryAuditReaderQuery audit entries with comprehensive filtersSnapshotReconstruct entity state at any point in historyEventAuditServiceCreate EVENT-type audits for domain eventsAdmin IntegrationBrowse audit logs in kachnitel/admin-bundleInstallation
------------

[](#installation)

```
composer require kachnitel/auditor-bundle
```

Quick Start
-----------

[](#quick-start)

```
# config/packages/kachnitel_auditor.yaml
kachnitel_auditor:
    providers:
        doctrine:
            entities:
                App\Entity\Product: ~
                App\Entity\Order: ~
```

Once configured, any database change affecting audited entities is automatically logged to `*_audit` tables.

```
// Add context to audit entries
public function adjustStock(AuditContext $auditContext, Product $product): void
{
    $auditContext->set(['note' => 'Manual correction', 'reason' => 'inventory_count']);
    $product->setStock(95);
    $this->em->flush();
}

// Query audit history
$entries = $reader->findByEntityClass(Product::class, [$productId]);

// Get historical state
$historicalData = $snapshot->getPropertiesSnapshot($products, $date, ['stock', 'price']);
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- Symfony &gt;= 5.4
- Doctrine ORM &gt;= 3.1

Migration
---------

[](#migration)

Migrating from `damienharper/auditor-bundle`? See [MIGRATION.md](MIGRATION.md).

License
-------

[](#license)

MIT - see [LICENSE](LICENSE)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance84

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.8% 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 ~21 days

Total

3

Last Release

113d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4067705?v=4)[Ondrej Vana](/maintainers/kachnitel)[@kachnitel](https://github.com/kachnitel)

---

Top Contributors

[![DamienHarper](https://avatars.githubusercontent.com/u/2448660?v=4)](https://github.com/DamienHarper "DamienHarper (375 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (72 commits)")[![kachnitel](https://avatars.githubusercontent.com/u/4067705?v=4)](https://github.com/kachnitel "kachnitel (33 commits)")[![dmitryuk](https://avatars.githubusercontent.com/u/661654?v=4)](https://github.com/dmitryuk "dmitryuk (7 commits)")[![maxhelias](https://avatars.githubusercontent.com/u/12966574?v=4)](https://github.com/maxhelias "maxhelias (6 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (4 commits)")[![nnmer](https://avatars.githubusercontent.com/u/1620737?v=4)](https://github.com/nnmer "nnmer (4 commits)")[![kl3sk](https://avatars.githubusercontent.com/u/2953145?v=4)](https://github.com/kl3sk "kl3sk (4 commits)")[![p365labs](https://avatars.githubusercontent.com/u/553026?v=4)](https://github.com/p365labs "p365labs (4 commits)")[![Gonzalo1987](https://avatars.githubusercontent.com/u/7010439?v=4)](https://github.com/Gonzalo1987 "Gonzalo1987 (3 commits)")[![gam6itko](https://avatars.githubusercontent.com/u/3841197?v=4)](https://github.com/gam6itko "gam6itko (3 commits)")[![piotrantosik](https://avatars.githubusercontent.com/u/154553?v=4)](https://github.com/piotrantosik "piotrantosik (3 commits)")[![Jonathan-Lathiere](https://avatars.githubusercontent.com/u/23059458?v=4)](https://github.com/Jonathan-Lathiere "Jonathan-Lathiere (2 commits)")[![pawelmicnas](https://avatars.githubusercontent.com/u/35198902?v=4)](https://github.com/pawelmicnas "pawelmicnas (2 commits)")[![eduardoweiland](https://avatars.githubusercontent.com/u/1799015?v=4)](https://github.com/eduardoweiland "eduardoweiland (2 commits)")[![SanderVerkuil](https://avatars.githubusercontent.com/u/7080527?v=4)](https://github.com/SanderVerkuil "SanderVerkuil (2 commits)")[![versh23](https://avatars.githubusercontent.com/u/1758392?v=4)](https://github.com/versh23 "versh23 (2 commits)")[![Alarich](https://avatars.githubusercontent.com/u/5496089?v=4)](https://github.com/Alarich "Alarich (2 commits)")[![patrickmatsumura](https://avatars.githubusercontent.com/u/927192?v=4)](https://github.com/patrickmatsumura "patrickmatsumura (2 commits)")[![mvhirsch](https://avatars.githubusercontent.com/u/573047?v=4)](https://github.com/mvhirsch "mvhirsch (2 commits)")

---

Tags

symfonydoctrineAuditaudit-trailaudit-logauditor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kachnitel-auditor-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4623.1M](/packages/damienharper-auditor-bundle)[pimcore/pimcore

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

3.8k3.8M507](/packages/pimcore-pimcore)[open-dxp/opendxp

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

9421.6k61](/packages/open-dxp-opendxp)[prestashop/prestashop

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

9.1k17.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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