depsimon/laravel-wallet
A flexible wallet package for Laravel that lets Eloquent models hold balances and track transactions. Add credits and debits safely, manage multiple wallets and currencies, and keep an auditable ledger through a simple, Laravel-friendly API.
Consider it when all of the following hold:
Look elsewhere when:
To executives: A wallet/credits capability unlocks refunds-as-credit, loyalty and referral rewards, prepaid balances, and usage-based credits — the mechanics behind most retention and monetization experiments on our roadmap. This particular package is a 95-star MIT-licensed Laravel library, unmaintained and archived since 2020. My recommendation is not to ship it as a dependency, but to use it as the reference design for a one-sprint prototype that lets us validate demand at near-zero cost before we fund a proper ledger. The cheap experiment now buys us a defensible build decision later, and it keeps us clear of the regulatory overhead that comes with holding real customer money.
To engineering: Treat it as a specification, not a dependency. It gives us a proven minimal shape — a HasWallet trait, a balance, and a transaction log on the User model — which is a useful starting skeleton. It does not give us concurrency safety on balance mutations, idempotent or reversible entries, multi-currency, or any framework support past the Laravel 6 era. Proposal: spend a short spike forking the schema and reimplementing the mutation layer with row-level locking and an append-only transaction table, scoped to non-redeemable credits only. If we later need custodial balances, that is a separate build with a double-entry ledger and finance sign-off — and we will have the prototype to prove the demand case first.
How can I help you explore Laravel packages today?