Download the PHP package hamedbaftam/e-wallet without Composer
On this page you can find all versions of the php package hamedbaftam/e-wallet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hamedbaftam/e-wallet
More information about hamedbaftam/e-wallet
Files in hamedbaftam/e-wallet
Package e-wallet
Short Description Easy work with virtual wallet.
License MIT
Homepage https://bavix.github.io/laravel-wallet/
Informations about the package e-wallet
laravel-wallet - Easy work with virtual wallet.
- Vendor: bavix
- Package: laravel-wallet
- Version:
- PHP Version: 7.3+ (if you are using version 5.x then 7.2+)
- Laravel Version:
5.5
,5.6
,5.7
,5.8
,6.x
,7.x
,8.x
- Composer:
composer require bavix/laravel-wallet
Upgrade Guide
Starting with version 5.x, support for Laravel 5 has been discontinued. Update laravel or use version 4.x.
To perform the migration, you will be helped by the instruction.
Extensions
Extension | Description |
---|---|
Swap | Addition to the laravel-wallet library for quick setting of exchange rates |
Vacuum | Addition to the laravel-wallet library for quick fix race condition |
Usage
Add the HasWallet
trait and Wallet
interface to model.
Now we make transactions.
Purchases
Add the CanPay
trait and Customer
interface to your User
model.
Add the HasWallet
trait and Product
interface to Item
model.
Proceed to purchase.
Eager Loading
How to work with fractional numbers?
Add the HasWalletFloat
trait and WalletFloat
interface to model.
Now we make transactions.
Supported by
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute].
Financial Contributors
Become a financial contributor and help us sustain our community. [Contribute]
Individuals
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
All versions of e-wallet with dependencies
php Version ^7.3|^8.0
illuminate/database Version ^6.0|^7.0|^8.0
doctrine/dbal Version ^2.8|^3.0
ramsey/uuid Version ^3.0|^4.0
brick/math Version ~0.8