PHP code example of novatree / wallet

1. Go to this page and download the library: Download novatree/wallet library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

novatree / wallet example snippets


Wallet::createAccountType($accountType, $machineName, $isActive);

Wallet::createTransactionType($transactionType, $status);

Wallet::createTransaction($account_type_id, $transaction_type_id, $amount, $transaction_date, $user_id, $transaction_status);

Wallet::getUserTransaction($user_id,$transaction_id,$transaction_date,$account_type,$transaction_type,$transaction_status);

Wallet::getAccountTypes($status);

Wallet::getTransactionTypes($status);