PHP code example of zarbinco / laravel-vandar

1. Go to this page and download the library: Download zarbinco/laravel-vandar 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/ */

    

zarbinco / laravel-vandar example snippets


Vandar::business();
Vandar::customers();
Vandar::cards();
Vandar::ibans();
Vandar::inquiries();
Vandar::ipg();
Vandar::refunds();
Vandar::settlements();
Vandar::queuedSettlements();
Vandar::batchSettlements();
Vandar::avand();
Vandar::cashIn();
Vandar::subscriptions();
Vandar::subscription();
Vandar::directDebit();
Vandar::tokens();
Vandar::raw();

use Zarbinco\LaravelVandar\Facades\Vandar;

$balance = Vandar::business()->balance();

if ($balance->successful()) {
    $data = $balance->data();
}
bash
php artisan vendor:publish --tag=vandar-config