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

Transaction Manager Bundle Laravel Package

aeatech/transaction-manager-bundle

Symfony bundle integrating AEATech Transaction Manager with support for multiple managers per connection, Doctrine DBAL adapter, MySQL/PostgreSQL transaction factories, configurable retry policies (backoff/jitter), attribute-based autoconfiguration, and lazy-loaded managers via service locator.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Expansion: Enables transactional resilience for microservices, payment processing, or financial systems where atomicity and retry logic are critical.
  • Roadmap Alignment: Supports a multi-database strategy (e.g., PostgreSQL for analytics, MySQL for transactions) by abstracting connection-specific transaction logic.
  • Build vs. Buy: Buy for teams needing advanced retry policies (exponential backoff with jitter) without reinventing distributed transaction logic.
  • Use Cases:
    • E-commerce: Idempotent payment retries with dead-letter queues.
    • SaaS: Cross-service transactions (e.g., order + inventory + billing).
    • Legacy Modernization: Wrapping legacy DBAL calls in transactional safety nets.

When to Consider This Package

  • Adopt if:
    • Your app uses Symfony 6.4+ and Doctrine DBAL with multiple DB connections.
    • You need customizable retry logic (e.g., for API calls or external services).
    • Your team prefers PHP attributes for declarative transaction configuration.
    • You’re building event-sourced systems or CQRS where transaction boundaries are complex.
  • Look elsewhere if:
    • You’re using Doctrine ORM (consider doctrine/doctrine-bundle’s built-in transactions).
    • Your transactions are simple (single DB, no retries).
    • You need distributed transactions (XA) → use Symfony Messenger + Doctrine XA or Sagacity.
    • Your stack isn’t Symfony (e.g., Lumen, standalone PHP).

How to Pitch It (Stakeholders)

For Executives: "This bundle lets us safely handle transaction failures in our payment/inventory systems with automatic retries and multi-database support, reducing manual error handling and improving uptime. It’s a lightweight, MIT-licensed solution that integrates seamlessly with our Symfony stack—no need for custom middleware or external services."

For Engineering: *"The Doctrine DBAL adapter and platform-specific factories (MySQL/PostgreSQL) let us standardize transaction logic across services. PHP attributes simplify annotation of retry policies, and the lazy-loaded registry avoids performance overhead. Perfect for:

  • Idempotent API calls (e.g., Stripe webhooks).
  • Cross-service transactions (e.g., order → inventory → billing).
  • Legacy DBAL refactoring with safety nets. Tradeoff: Minimal stars (early-stage), but the core library is battle-tested in AEATech’s systems."*
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
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