altek / accountant
The auditing & accountability package for Laravel's Eloquent ORM.
Requires
- php: ^8.1
- ext-json: *
- illuminate/console: ^10.0|^11.0
- illuminate/database: ^10.0|^11.0
- illuminate/filesystem: ^10.0|^11.0
Requires (Dev)
- ext-pdo: *
- altek/eventually: ^3.0
- orchestra/testbench: ^8.0|^9.0
- roave/security-advisories: dev-latest
Suggests
- altek/eventually: Required for keeping track of BelongsToMany and MorphToMany relations.
- laravelista/lumen-vendor-publish: Required to publish the package config file in Lumen.
This package is auto-updated.
Last update: 2024-10-25 13:19:19 UTC
README
This package provides a convenient way to keep track of Eloquent model changes.
Data discrepancies that may indicate business concerns, suspect activities, and other actions that would otherwise pass unnoticed, can now be easily spotted.
Version Matrix
Version | Illuminate | Status | PHP Version |
---|---|---|---|
4.x | 10.x.y - 11.x.y | Latest | >= 8.1.0 |
3.x | 8.x.y - 10.x.y | EOL | >= 7.4.0 |
2.x | 7.x.y | EOL | >= 7.2.5 |
1.x | 5.2.x - 6.x.y | EOL | >= 7.1.3 |
Key Features
- Many-to-many (
BelongsToMany
andMorphToMany
) relation support; - Event source style approach, by keeping complete snapshots of
Recordable
models when created, modified or retrieved; - Ability to recreate
Recordable
model instances in the exact state they were in when recorded; - Signed
Ledger
records for data integrity; - Effortless data integrity checks;
- Recording contexts;
- Huge customisation support (drivers, resolvers, and more);
- Easy to follow documentation and troubleshooting guide;
- Laravel and Lumen 8.0+ support;
Documentation
The package documentation can be found here.
Changelog
For information on recent changes, check the CHANGELOG.
Contributing
Contributions are always welcome, but before anything else, make sure you get acquainted with the CONTRIBUTING guide.
Security
If you find a security related issue, please email security@altek.org instead of using the issue tracker.
Credits
License
The Accountant package is open source software licensed under the MIT LICENSE.