testmonitor/laravel-accountable
Laravel package that makes Eloquent models accountable by tracking which user created, updated, or deleted each record. Adds configurable audit relations and helpers so you can see who did what, when, and query models by responsible user.
created_by, updated_by, deleted_by, or equivalent). Release 10.1.0 improves correctness by preventing an already-set userstamp from being overwritten and adds a whileActingAs callback helper, likely useful for scoped identity simulation in tests and controlled workflows.whileActingAs helper needs validation for exception safety, nested usage, guard selection, and auth-state restoration.null, empty, and system values consistently? Does whileActingAs restore prior auth state on exceptions and in queued/console contexts? Are there documented migration or upgrade notes? Does the package handle soft deletes and multi-guard auth predictably?10.1.0, review package documentation and changelog, upgrade in a branch, and run regression tests around model creation/update/delete, factories, seeders, imports, admin impersonation, and queued jobs. Confirm whether any existing code explicitly sets userstamp fields and expects them to be overwritten.whileActingAs; validate in staging with representative auth/queue/console flows; then roll out with a short release note to engineering and QA.whileActingAs is likely most relevant in tests or bounded workflows. Validate behavior under queues and high-volume writes if attribution is operationally critical.whileActingAs may fail to restore state if not exception-safe; audit gaps may occur if required columns or model traits are inconsistently applied.How can I help you explore Laravel packages today?