nabcellent/laravel-kyanda is a Laravel package for kyanda api library.
It currently has 1 GitHub stars and 602 downloads on Packagist (latest version v2.1.1).
Install it with composer require nabcellent/laravel-kyanda.
Discover more Laravel packages by nabcellent
or browse all Laravel packages to compare alternatives.
Last updated
This is a Laravel package that interfaces with Kyanda Payments Api. The API enables you to initiate mobile payments, disburse payments to mobile and bank, purchase airtime & bundles* and to pay for utility bills.
Check out their api documentation.
You can install the package via composer:
composer require nabcellent/laravel-kyanda
The package will automatically register itself.
You can publish the config file with the following artisan command:
php artisan kyanda:install
Enables you to check the status of items
Account::balance();
Account::transactionStatus("KYAAPI___");
Enables purchase of payment of goods and services
Utility::airtimePurchase(0712345678, 100);
Utility::billPayment(11011011011, 1000, Providers::KPLC_PREPAID);
Enables registration of callback url via API call
Notification::registerCallbackURL();
Coming soon
The phone validator was built using regex and the latest allocation of prefixes by Communication authority of Kenya (Apr, 2021). Check the docs to see the pdf listing with allocations.
You can run the tests with:
composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.