willdurand/propel-eventdispatcher-bundle
Symfony2 bundle integrating Propel’s EventDispatcherBehavior. Adds per-model event dispatchers so you only subscribe to relevant Propel lifecycle events, improving separation of concerns and avoiding unnecessary listeners.
KernelEvents, DoctrineEvents).postInsert, postUpdate).User::postSave).EventDispatcherInterface) while extending it to Propel models.Use This If:
Look Elsewhere If:
DoctrineEventListener or DoctrineExtensions instead."This bundle lets us leverage Symfony’s robust event system with Propel ORM, enabling us to build more maintainable and scalable applications. For example, we can automatically trigger actions like notifications or analytics whenever a critical model changes—without tightly coupling those actions to the model code. It’s a lightweight solution that aligns with our existing Symfony stack and reduces technical debt for legacy Propel systems. The trade-off is minimal maintenance risk (since it’s a small, focused bundle), but we’d need to confirm compatibility with our Symfony version or plan for minor updates."
*"The BazingaPropelEventDispatcherBundle integrates Propel’s EventDispatcherBehavior into Symfony, allowing us to dispatch events (e.g., postInsert, preUpdate) for Propel models using Symfony’s EventDispatcherInterface. Key benefits:
Caveats:
Proposal: Use this for new Propel-based features or legacy modernization, but pair it with a plan to either:
Alternatives: Custom Propel listeners or a hybrid approach (e.g., Doctrine Events for new projects)."*
How can I help you explore Laravel packages today?