PHP code example of nabcellent / laravel-kyanda

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

    

nabcellent / laravel-kyanda example snippets


Account::balance();

Account::transactionStatus("KYAAPI___");

Utility::airtimePurchase(0712345678, 100);

Utility::billPayment(11011011011, 1000, Providers::KPLC_PREPAID);

Notification::registerCallbackURL();
bash
php artisan kyanda:install