astrotomic/laravel-transaction-proxy
A Laravel package that wraps your services in database transaction proxies, letting you run any method inside a DB transaction via a simple proxy—with support for savepoints, disabling transactions, and configurable behavior.
Adopt when:
Look elsewhere when:
To executives: This is a small, low-cost dependency that removes work from our backlog rather than adding to it. The 0.3.0 release makes it compatible with our Laravel 8 / PHP 8 target, so adopting it does not constrain our upgrade path. The main caveat is maturity — it is pre-1.0, so we will pin the version and wrap it behind an internal interface, which caps the downside if we ever need to replace it.
To engineering: The package now declares Laravel 8 and PHP 8 support as of 0.3.0; earlier versions should be treated as incompatible with our target stack. Adopt with a pinned Composer constraint, wrap it in an adapter so call sites do not depend on its API directly, and confirm the test suite and maintainer responsiveness before we commit. Because it is 0.x, budget for breaking changes on minor upgrades and review each release note rather than auto-updating.
How can I help you explore Laravel packages today?