bavix/laravel-wallet-swap
A Laravel package that adds swap and exchange support to bavix/laravel-wallet, enabling atomic balance conversions between wallets or currencies with configurable rates and a clean, framework-friendly API.
bavix/laravel-wallet — a paired debit from one wallet and credit to another at a conversion rate, recorded as a first-class transaction. That turns "let users move value between two balances" from a design project into a configuration and UI decision.laravel-wallet, the build alternative is a custom conversion service plus reconciliation logic plus reporting that understands a new transaction shape. This package is one dependency that reuses the core transaction group, so reporting, statements and refunds keep working. Default recommendation: buy.Adopt when:
bavix/laravel-wallet and intend to stay on it. This package is an extension of that core, not a standalone wallet.Version gate — the substance of 8.0.0: this release exists to support laravel-wallet 12. Everything else in the notes is CI and dependency housekeeping. So the real question is not "do we take 8.0.0?" but "are we moving the core wallet package to 12?" If you are on an earlier core version, pin to 7.0.1; taking 8.0.0 forces the core upgrade, and that upgrade — not this package — is the migration work.
Look elsewhere when:
bavix/laravel-wallet — adopting this means adopting the whole wallet stack, which is a much larger decision than the swap feature warrants.Health signal to note, not over-read: this release is mostly Dependabot and workflow bumps plus one functional change, by a small maintainer team. Active maintenance is good; low feature velocity is acceptable for a small, stable package, but it does mean your roadmap is partly coupled to the core package's release cadence.
For executives (one paragraph): we can ship currency and balance conversion — the kind of feature customers read as "the product understands my money" — by adding one small, actively maintained package rather than commissioning a conversion service and the reporting changes that go with it. Cost is a dependency plus a small amount of product design around rates and fees; time to first demo is measured in days, not a quarter. The trade-off is a version lockstep with our existing wallet library: upgrades are scheduled work, not automatic, and this 8.0.0 release is exactly that kind of upgrade rather than a feature release. The risk is contained and the alternative is a larger, permanent piece of custom code we would own forever.
For engineering (short): 8.0.0 is a compatibility release. The only functional change is support for laravel-wallet 12; the remaining entries are Dependabot bumps to CI actions and workflow config, plus moving the dev dependency phpunit/phpunit from ^10.5 to ^11.0. No new public API in the swap layer and no deprecations announced, so the adoption path is: upgrade the core wallet package first, bump this to ^8.0, run the suite, and confirm the CI runner meets PHPUnit 11's PHP baseline (8.2+). Treat "core wallet 12 migration" as the ticket; the swap package is a one-line follow-on.
How can I help you explore Laravel packages today?