PHPackages                             silverstripe/dataobject-auditor - 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. silverstripe/dataobject-auditor

ActiveSilverstripe-vendormodule[Database &amp; ORM](/categories/database)

silverstripe/dataobject-auditor
===============================

Audits delete and write operations on DataObjects

1.1.0(8y ago)51511[1 PRs](https://github.com/fspringveldt/silverstripe-dataobject-auditor/pulls)BSD-2-ClausePHP

Since Dec 24Pushed 7y ago2 watchersCompare

[ Source](https://github.com/fspringveldt/silverstripe-dataobject-auditor)[ Packagist](https://packagist.org/packages/silverstripe/dataobject-auditor)[ RSS](/packages/silverstripe-dataobject-auditor/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (3)Versions (6)Used By (0)

SilverStripe DataObject auditor
-------------------------------

[](#silverstripe-dataobject-auditor)

[![Build Status](https://camo.githubusercontent.com/4c3fc845d1bfee3a80920edcbe06d571ae574ae4b14b0d5cae0593aa14409076/68747470733a2f2f7472617669732d63692e6f72672f66737072696e6776656c64742f73696c7665727374726970652d646174616f626a6563742d61756469746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fspringveldt/silverstripe-dataobject-auditor)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/15b8d5c1163723076fa0e01932c9e95f19927b6fcef1ae9d434277d9eba09efe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66737072696e6776656c64742f73696c7665727374726970652d646174616f626a6563742d61756469746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fspringveldt/silverstripe-dataobject-auditor/?branch=master)[![Code coverage](https://camo.githubusercontent.com/1e9211f4acb77cb918ff0e4e19c5709fc225a7b6d2a2520a3ed097265a229259/68747470733a2f2f636f6465636f762e696f2f67682f66737072696e6776656c64742f73696c7665727374726970652d646174616f626a6563742d61756469746f722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/fspringveldt/silverstripe-dataobject-auditor)[![License](https://camo.githubusercontent.com/6181dbe397948cb7098979e1797e70003b39eb52bed13bb14523d39cf0685e32/68747470733a2f2f706f7365722e707567782e6f72672f73696c7665727374726970652f646174616f626a6563742d61756469746f722f6c6963656e7365)](https://packagist.org/packages/silverstripe/dataobject-auditor)[![Total Downloads](https://camo.githubusercontent.com/6ca664c0cd17c2148d7ff3c2ddf684c313d0db2ab5d8ee82bbd5f65ea1261662/68747470733a2f2f706f7365722e707567782e6f72672f73696c7665727374726970652f646174616f626a6563742d61756469746f722f646f776e6c6f616473)](https://packagist.org/packages/silverstripe/dataobject-auditor)

A SilverStripe module which audits updates to and deletions from DataObject subclasses.

Installation
------------

[](#installation)

`composer require silverstripe/dataobject-auditor`

Setup
-----

[](#setup)

No setup is required as the `AuditExtension` is automatically added to DataObject.

Changes are added to two tables viz. `DataObjectAuditor_Audit` which has a `$has_many` to `DataObjectAuditor_AuditValues`. Only changed records are added to the `DataObjectAuditor_AuditValues` table to prevent duplication. In the case of deletion though, the entire record is written.

Configuration/Usage instructions
--------------------------------

[](#configurationusage-instructions)

By default all DataObjects, except `Audit` and `AuditValue` are audited.

You can exclude some items by adding them to the `AuditExtension::audit_exclusions` config setting:

```
SilverStripe\DataObjectAuditor\Extensions\AuditExtension:
  audit_exclusions:
    - Namespaced\ClassName1
    - Namespaced\ClassName2
```

Bugtracker
----------

[](#bugtracker)

Bugs are tracked on [github.com](https://github.com/fspringveldt/silverstripe-dataobject-auditor/issues).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~76 days

Total

5

Last Release

2757d ago

### Community

Maintainers

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

---

Top Contributors

[![fspringveldt](https://avatars.githubusercontent.com/u/10938392?v=4)](https://github.com/fspringveldt "fspringveldt (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/silverstripe-dataobject-auditor/health.svg)

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

###  Alternatives

[silverstripe/postgresql

SilverStripe now has tentative support for PostgreSQL ('Postgres')

16258.1k2](/packages/silverstripe-postgresql)[brettt89/silverstripe-garbage-collector

SilverStripe Garbage Collector module

109.6k](/packages/brettt89-silverstripe-garbage-collector)

PHPackages © 2026

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