Skip to content

Repository files navigation

dmstr/doctrine-audit-log-bundle

Audit logging for Doctrine entities via Gedmo Loggable, exposed as a read-only API Platform admin resource.

Features (planned)

  • Concrete LogEntry entity extending Gedmo\Loggable\Entity\MappedSuperclass\AbstractLogEntry with table dmstr_log_entries
  • LoggableListener wiring via doctrine.event_subscriber
  • LogEntry exposed as #[ApiResource(routePrefix: '/admin', operations: [Get, GetCollection], security: "is_granted('ROLE_ADMIN')")]/api/admin/log_entries
  • Apps annotate their entities with #[Gedmo\Loggable] to opt in

License

MIT © diemeisterei GmbH

About

Audit logging for Doctrine entities via Gedmo Loggable: concrete LogEntry entity exposed as read-only API Platform admin resource.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages