Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doctrine Footprint Extension Laravel Package

adrianglazer/doctrine-footprint-extension

Doctrine extension to auto-track entity create/update/delete with timestamps and usernames. Adds created_at/by, updated_at/by, deleted_at/by via a single trait + event subscriber, plus a Doctrine filter for soft deletes.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Audit Trail & Compliance: Automatically track entity lifecycle (create/update/delete) with timestamps and user attribution, reducing manual logging efforts and ensuring regulatory compliance (e.g., GDPR, SOX).
  • Developer Productivity: Eliminate boilerplate code for CRUD operations by centralizing timestamp/user tracking via a single trait/listener, accelerating feature development.
  • Soft Deletes: Enable soft-deletion functionality out-of-the-box, improving data integrity without cascading deletes.
  • Roadmap for Observability: Foundation for future features like:
    • Role-based access control (RBAC) integration (e.g., created_by/updated_by as audit hooks).
    • Entity change diffing (e.g., "what changed?" for updates).
    • Exportable audit logs for analytics/reports.
  • Build vs. Buy: Avoid reinventing audit wheels; prioritize core product features over infrastructure.

When to Consider This Package

  • Adopt if:
    • Your Laravel app uses Doctrine ORM (not Eloquent) and requires automated audit trails.
    • You need soft deletes with minimal setup.
    • Your team lacks time/resources to manually implement timestamp/user tracking per entity.
    • You’re building a regulatory-heavy app (e.g., healthcare, finance) where provenance matters.
  • Look elsewhere if:
    • You use Eloquent (this is Doctrine-specific).
    • You need real-time audit logging (this is passive; consider Laravel Logging + Events).
    • Your entities require custom business logic for tracking (e.g., nested attribute changes).
    • The package’s last release (2019) is a dealbreaker for long-term maintenance (evaluate fork/alternatives).
    • You need advanced features like change diffing or multi-user workflows (consider OWIN/AuditBundle or custom solutions).

How to Pitch It (Stakeholders)

For Executives:

"This package automates critical audit tracking—timestamps and user actions for every database change—with just a few lines of config. It’s like adding a compliance cop to your app for free, reducing manual logging errors and speeding up development. For $0 cost and minimal setup, we get soft deletes, regulatory readiness, and cleaner code. The tradeoff? It’s Doctrine-only, but if we’re already using it, this is a no-brainer for cutting audit overhead."

For Engineering:

*"This solves a recurring pain point: manually adding created_at, updated_at, deleted_at, and user fields to every entity. With this listener/trait combo, we:

  • Save 10+ hours/week on boilerplate.
  • Standardize audit trails across the app.
  • Enable soft deletes without extra work. Downsides: It’s stale (last updated 2019), so we’d need to vet for security/Doctrine compatibility. If we’re all-in on Doctrine, it’s a lightweight win. If not, we can skip it and build our own (but that’s reinventing the wheel)."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor