Weave 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 Lifecycle Bundle Laravel Package

zhortein/doctrine-lifecycle-bundle

A Symfony bundle for integrating Doctrine lifecycle events into your application. It provides configurable listeners and services for reacting to entity creation, update, and deletion, helping keep persistence logic clean, centralized, and maintainable.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables automatic “blameable” and timestampable metadata on Laravel/Eloquent models, supporting auditability, ownership tracking, and “who changed what/when” visibility.
  • Useful for roadmap items around compliance readiness, admin traceability, multi-tenant attribution, incident debugging, and internal tooling.
  • Informs build-vs-buy: a small package can replace a custom trait for basic created_by/updated_by and timestamp behavior, but the 0.1.x API surface carries upgrade risk.
  • Supports use cases where lightweight attribution is enough: internal apps, admin panels, early-stage products, and prototypes.
  • Release 0.1.3 changes setter return types in BlameableInterface/BlameableTrait and TimestampableInterface/TimestampableTrait; this is a compatibility-sensitive change for custom implementations, not a new feature.

When to Consider This Package

  • Consider it when you need simple Eloquent model attribution/timestamps, want Laravel-native integration, and can pin the package version and test upgrades.
  • Good fit for teams comfortable with pre-1.0 packages and limited custom implementation of the provided interfaces.
  • Look elsewhere if you need full audit logs, immutable history, event sourcing, compliance-grade evidence, stable public APIs, long-term vendor support, or strict backward-compatibility guarantees.
  • Reassess if many models or services implement BlameableInterface or TimestampableInterface, because the 0.1.3 setter signature change can create migration work.
  • Avoid adopting as a critical compliance system until the package reaches a more stable release line or the API surface is proven stable.

How to Pitch It (Stakeholders)

  • Executives: a lightweight accelerator for audit metadata and record attribution; it reduces custom code and speeds delivery, but pre-1.0 API churn means we should pin versions and pilot before broad rollout.
  • Engineering: integrates through traits/interfaces with minimal footprint; 0.1.3 changes setter return types, so check any custom implementations and add signature-level tests before upgrading.
  • Recommendation: adopt for low-risk attribution needs, not as a replacement for a full audit-log platform; keep Composer constraints tight and review the API before any 1.0 transition.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console