PHPackages                             nowo-tech/audit-kit-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. nowo-tech/audit-kit-bundle

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

nowo-tech/audit-kit-bundle
==========================

Symfony + Doctrine bundle for automatic created/updated timestamps and blame fields on opt-in entities.

v1.1.11(1mo ago)1574↑1875%1MITPHPPHP &gt;=8.2 &lt;8.6CI passing

Since Jul 14Pushed 1w agoCompare

[ Source](https://github.com/nowo-tech/AuditKitBundle)[ Packagist](https://packagist.org/packages/nowo-tech/audit-kit-bundle)[ Docs](https://github.com/nowo-tech/AuditKitBundle)[ GitHub Sponsors](https://github.com/HecFranco)[ RSS](/packages/nowo-tech-audit-kit-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (36)Versions (19)Used By (1)

Audit Kit Bundle
================

[](#audit-kit-bundle)

[![CI](https://github.com/nowo-tech/AuditKitBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/nowo-tech/AuditKitBundle/actions/workflows/ci.yml) [![Packagist Version](https://camo.githubusercontent.com/329e675893bc9093a84bf1e7313aae03dda03cbe42aa2876ac0f76349b2745ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f776f2d746563682f61756469742d6b69742d62756e646c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/nowo-tech/audit-kit-bundle) [![Packagist Downloads](https://camo.githubusercontent.com/3374dfdddd605912ae83b0d1b296f9667132797a632d95839f1c1639b26f45cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f776f2d746563682f61756469742d6b69742d62756e646c652e737667)](https://packagist.org/packages/nowo-tech/audit-kit-bundle) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![PHP](https://camo.githubusercontent.com/3f99b197569aa2dcfbefff17ecc68d74098e7f929d8b52dc40f3a898f740eae1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d3737374242343f6c6f676f3d706870)](https://php.net) [![Symfony](https://camo.githubusercontent.com/0701ae1a8855b98dea0f1dc9d9025d6b0f9444a803559dc983614d044176348b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d372e34253230253743253230382e30253230253743253230382e312532422d3030303030303f6c6f676f3d73796d666f6e79)](https://symfony.com) [![GitHub stars](https://camo.githubusercontent.com/4e8f700a9ccde688b4b6f5483571fc1ec2392c749c5ead3eef544576a2792d74/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f776f2d746563682f41756469744b697442756e646c652e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nowo-tech/AuditKitBundle) [![Coverage](https://camo.githubusercontent.com/cd0704b56f1d56def350b6d0164316307bb2f47834225fd85443b6fb0059bc73/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d3130302532352d627269676874677265656e)](#tests-and-coverage)

> ⭐ **Found this useful?** Install from [Packagist](https://packagist.org/packages/nowo-tech/audit-kit-bundle) and give the repo a star on GitHub.

Symfony + Doctrine bundle for **automatic auditing fields** on any opt-in entity:

FieldSet on`createdAt` / `updatedAt``prePersist` + `preUpdate` (timestamps only on update)`createdBy` / `updatedBy`When an authenticated user is present (nullable in CLI)Complements [`nowo-tech/user-kit-bundle`](https://github.com/nowo-tech/UserKitBundle) (account state / presence) and [`nowo-tech/auth-kit-bundle`](https://github.com/nowo-tech/AuthKitBundle) (auth flows).[![FrankenPHP Friendly Worker Mode](docs/images/frankenphp-friendly.png)](docs/images/frankenphp-friendly.png)

This bundle is **FrankenPHP worker mode friendly**.

Features
--------

[](#features)

- Optional traits: `TimestampableTrait`, `BlameableTrait`, `AuditableTrait`
- Doctrine entity listener (`prePersist` / `preUpdate`)
- **Named profiles** — separate field mapping and flags per user entity (`User`, `Admin`, …) with O(1) class resolution
- Configurable property names and `user_class`
- Per-entity opt-out via `#[Auditable(enabled: false)]`
- Guest / CLI safe — blame fields stay `null` without errors

Quick start
-----------

[](#quick-start)

```
composer require nowo-tech/audit-kit-bundle
```

```
# config/packages/nowo_audit_kit.yaml
nowo_audit_kit:
    default_profile: default
    profiles:
        default:
            user_class: App\Entity\User
```

The legacy flat layout (`user_class` at root) remains supported. See [Configuration](docs/CONFIGURATION.md).

```
use Nowo\AuditKitBundle\Model\AuditableTrait;

class Article
{
    use AuditableTrait;
}
```

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

[](#requirements)

- PHP 8.2+
- Symfony 7.4 | 8.x
- Doctrine ORM 2.15+ | 3.x

Demo
----

[](#demo)

```
make -C demo/symfony8 up   # http://localhost:8013 (default PORT)
```

Each demo persists entities with automatic audit columns (see `demo/symfony8/src/Entity/Article.php` and `LegacyRecord.php` for audited vs opt-out). See [demo/symfony8/README.md](demo/symfony8/README.md) and [docs/DEMO-FRANKENPHP.md](docs/DEMO-FRANKENPHP.md) for FrankenPHP setup (including **worker mode** for production).

Development
-----------

[](#development)

```
make up
make test-coverage
make release-check
```

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

[](#documentation)

- [GitHub Actions CI requirements](docs/GITHUB_CI.md)
- [Installation](docs/INSTALLATION.md)
- [Configuration](docs/CONFIGURATION.md)
- [Usage](docs/USAGE.md)
- [Contributing](docs/CONTRIBUTING.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Changelog](docs/CHANGELOG.md)
- [Upgrading](docs/UPGRADING.md)
- [Release](docs/RELEASE.md)
- [Security](docs/SECURITY.md)
- [Engram](docs/ENGRAM.md)
- [Spec-driven development](docs/SPEC-DRIVEN-DEVELOPMENT.md)
- [GitHub Spec Kit](docs/SPEC-KIT.md)

### Additional documentation

[](#additional-documentation)

- [Demo with FrankenPHP](docs/DEMO-FRANKENPHP.md)
- [Product spec](specs/001-baseline/spec.md)
- [Code inventory](specs/001-baseline/code-inventory.md)

Tests and coverage
------------------

[](#tests-and-coverage)

- Tests: PHPUnit (unit + integration)
- PHP: 100%
- TS/JS: N/A
- Python: N/A

**Compatibility:** PHP 8.2+ · Symfony 7.4 / 8.0 / 8.1 (CI matrix).

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

Package
-------

[](#package)

- **Composer:** `nowo-tech/audit-kit-bundle`
- **Config root:** `nowo_audit_kit`

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance96

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 61.1% 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 ~1 days

Total

18

Last Release

33d ago

### Community

Maintainers

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

---

Top Contributors

[![HecFranco](https://avatars.githubusercontent.com/u/24323276?v=4)](https://github.com/HecFranco "HecFranco (33 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

---

Tags

auditblameabledoctrinefrankenphpphpsymfonysymfony-bundletimestampablesymfonydoctrinetimestampableBlameableAuditSymfony Bundleupdated\_bycreated-at

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nowo-tech-audit-kit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nowo-tech-audit-kit-bundle/health.svg)](https://phpackages.com/packages/nowo-tech-audit-kit-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.7M440](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1718.2k18](/packages/2lenet-crudit-bundle)[sulu/sulu

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

1.4k1.4M241](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.7M3.1k](/packages/contao-core-bundle)[pimcore/pimcore

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

3.8k4.0M551](/packages/pimcore-pimcore)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

605.9M709](/packages/shopware-core)

PHPackages © 2026

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