Audit logging for Doctrine entities via Gedmo Loggable, exposed as a read-only API Platform admin resource.
- Concrete
LogEntryentity extendingGedmo\Loggable\Entity\MappedSuperclass\AbstractLogEntrywith tabledmstr_log_entries LoggableListenerwiring viadoctrine.event_subscriberLogEntryexposed 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
MIT © diemeisterei GmbH