bavix/laravel-wallet
Virtual wallet system for Laravel: manage balances, deposits/withdrawals, transfers, and multi-wallet support with robust transaction history and concurrency safety. Well-tested, benchmarked, and extensible for payments, loyalty points, and in-app credits.
PurchaseServiceInterface, improving performance for e-commerce or marketplace use cases.Swap (exchange rates) or Warm Up (balance caching) can be adopted incrementally as features expand."This package lets us launch virtual wallets in weeks—not months—by leveraging a battle-tested, Laravel-native solution. It handles core wallet logic (deposits, purchases, refunds) while allowing us to customize rules for our business (e.g., dynamic pricing, inventory limits). For example, a gaming app could use it to enable in-game currency, or an e-commerce platform could integrate it for seamless microtransactions. The package’s extensibility means we can start simple and add features like exchange rates or multi-currency support later. With 1.3K+ stars and active maintenance, it’s a low-risk way to accelerate monetization features."
*"Laravel Wallet abstracts away boilerplate for wallet operations—transactions, balances, and purchases—with clear interfaces (Wallet, Customer, ProductInterface). Key benefits:
PurchaseServiceInterface to avoid N+1 queries.balanceFloat for fractional currency).CanPay to enforce custom rules (e.g., user limits, promotions).wallet.created) and potentially extend it for edge cases (e.g., cross-wallet transfers). But it’s a net win for reducing technical debt compared to a custom solution."**"This enables us to prototype wallet features quickly—think:
deposit()/withdraw().pay()/refund() and inventory checks.
We can start with basic flows (e.g., ‘pay for a feature’) and layer on complexity (e.g., ‘exchange coins for NFTs’) later using extensions like Swap."*How can I help you explore Laravel packages today?