benmacha/audit-bundle
Symfony bundle to audit Doctrine entity changes with rollback support. Includes a web UI and REST API to browse audit logs, flexible configuration, security integration, and optional async processing. Supports PHP 7.4–8.4 and Symfony 5.4–7.x.
Core Auditing System
Attribute-Based Configuration
#[Auditable] attribute for entity-level configuration#[IgnoreAudit] attribute for field-level exclusions#[AuditSensitive] attribute for sensitive data handling#[AuditMetadata] attribute for custom metadata#[AuditContext] attribute for contextual informationRollback Functionality
Web Interface
REST API
Performance & Scalability
Security & Privacy
Console Commands
audit:cleanup - Clean up old audit logsaudit:export - Export audit dataaudit:stats - Display audit statisticsaudit:generate-test-data - Generate test dataaudit:config:validate - Validate configurationaudit:rollback - Command-line rollback operationsConfiguration System
Data Management
Monitoring & Observability
Integration Features
For security vulnerabilities, please email contact@benmacha.tn instead of using the issue tracker.
This is the first stable release of the Symfony Audit Bundle, providing a comprehensive solution for entity auditing in Symfony applications. The bundle has been thoroughly tested and is ready for production use.
Key Features:
Migration Guide: This is the initial stable release. No migration is required.
Breaking Changes: None - this is the initial stable release.
Upgrade Path: For users upgrading from beta versions (0.x), please refer to the migration guide in the documentation.
| Bundle Version | PHP Version | Symfony Version | Doctrine ORM |
|---|---|---|---|
| 1.0.x | 8.1+ | 6.0+, 7.0+ | 2.14+, 3.0+ |
| 0.9.x | 8.1+ | 6.0+ | 2.14+ |
| 0.8.x | 8.0+ | 5.4+, 6.0+ | 2.12+ |
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions! Please see our Contributing Guide for details.
How can I help you explore Laravel packages today?