Download the PHP package nycorp/finance without Composer
On this page you can find all versions of the php package nycorp/finance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package finance
Features
- make deposit
- make withdrawal
- Set account threshold
- Listen to success transaction
- Custom payment provider
Installation (with Composer)
Then
Configuration
Publish migration file and config
Run migration
Usage
Add Finance Account Trait to any model
(Optional) Set Threshold the min balance for an account
For deposit
Get balance
For withdrawal
Customize the canWithdraw in the model (Optional)
Set model currency by adding this method in the model
Check if user can make transaction if his finance account is not disabled
Check if user can make transaction if his finance account has enough balance base on threshold use true to force balance calculation
To listen to success transaction
Custom Provider
Register provider in config
Response handle
All versions of finance with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
The package nycorp/finance contains the following files
Loading the files please wait ....