paresh27/model-auditor

Framework-agnostic change auditing for PHP data structures

Maintainers

Package info

github.com/paresh27/model-auditor

pkg:composer/paresh27/model-auditor

Transparency log

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-07-07 16:14 UTC

This package is auto-updated.

Last update: 2026-07-09 10:14:05 UTC


README

Framework-agnostic change auditing for PHP data structures.

Installation

composer require yourvendor/model-auditor

Usage

use YourVendor\ModelAuditor\Auditor;
use YourVendor\ModelAuditor\Storage\InMemoryAuditStorage;

$auditor = new Auditor(new InMemoryAuditStorage());

$auditor->record('Invoice#42', $before, $after);

foreach ($auditor->history() as $record) {
    // ...
}

Testing

composer test

License

MIT