PHPackages                             nabcellent/laravel-kyanda - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. nabcellent/laravel-kyanda

ActiveLibrary[Payment Processing](/categories/payments)

nabcellent/laravel-kyanda
=========================

Kyanda API Library

v2.1.1(3y ago)1602[1 PRs](https://github.com/Nabcellent/laravel-kyanda/pulls)MITPHPPHP ^8.0

Since Oct 21Pushed 3y agoCompare

[ Source](https://github.com/Nabcellent/laravel-kyanda)[ Packagist](https://packagist.org/packages/nabcellent/laravel-kyanda)[ RSS](/packages/nabcellent-laravel-kyanda/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (24)Used By (0)

Kyanda Api
==========

[](#kyanda-api)

[![GitHub TestCI Workflow](https://github.com/Nabcellent/laravel-kyanda/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/Nabcellent/laravel-kyanda/actions/workflows/test.yml)[![Github StyleCI Workflow](https://github.com/Nabcellent/laravel-kyanda/actions/workflows/styleci.yml/badge.svg?branch=master)](https://github.com/Nabcellent/laravel-kyanda/actions/workflows/styleci.yml)[![codecov](https://camo.githubusercontent.com/34bfe6a9842bf431c0806ab216f0873c9d959672927a03c92c4726440892c628/68747470733a2f2f636f6465636f762e696f2f67682f4e616263656c6c656e742f6c61726176656c2d6b79616e64612f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d36623064306261312d633263362d343037372d386333612d316635363765656138386130)](https://codecov.io/gh/Nabcellent/laravel-kyanda)[![Total Downloads](https://camo.githubusercontent.com/c27b5623e548bc49931b10c74c303da23fcdf2f846e5d46d373a31814c228818/68747470733a2f2f706f7365722e707567782e6f72672f6e616263656c6c656e742f6c61726176656c2d6b79616e64612f646f776e6c6f616473)](https://packagist.org/packages/nabcellent/laravel-kyanda)[![License](https://camo.githubusercontent.com/9c98c9843f31db7381cbdf63c66d11b024b0309dd018dfeac22524378a78be80/68747470733a2f2f706f7365722e707567782e6f72672f6e616263656c6c656e742f6c61726176656c2d6b79616e64612f6c6963656e7365)](https://github.com/Nabcellent/laravel-kyanda/blob/master/LICENSE.md)

This is a *Laravel* package that interfaces with [Kyanda](https://kyanda.co.ke/) Payments Api. The API enables you to initiate mobile payments, disburse payments to mobile and bank, purchase airtime &amp; bundles\* and to pay for utility bills.

Check out their [api documentation](https://kyanda.co.ke/developer/index.html).

Documentation
-------------

[](#documentation)

### Installation

[](#installation)

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
```

### Getting Started

[](#getting-started)

- ### Account

    [](#account)

Enables you to check the status of items

1. Account balance

```
Account::balance();
```

2. Transaction status

```
Account::transactionStatus("KYAAPI___");
```

- ### Utility

    [](#utility)

Enables purchase of payment of goods and services

1. Airtime Purchase

```
Utility::airtimePurchase(0712345678, 100);
```

2. Bill Payment

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

- ### Notification

    [](#notification)

Enables registration of callback url via API call

1. Instant Payment Notification callback registration

```
Notification::registerCallbackURL();
```

- ### Payments

    [](#payments)

Coming soon

### NOTE: Phone Number Validation

[](#note-phone-number-validation)

The phone validator was built using regex and the latest allocation of prefixes by Communication authority of Kenya (Apr, 2021). Check the [docs](docs) to see the pdf listing with allocations.

Testing
-------

[](#testing)

You can run the tests with:

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Nabcellent](https://github.com/nabcellent)
- [Dr H](https://github.com/drh97)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 53.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~26 days

Recently: every ~123 days

Total

20

Last Release

1163d ago

Major Versions

v1.9.6 → v2.0.02022-06-08

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2e18beb4ba5e22e1336e73e5c17fd4f3e193d978ffd21b33d925b4549c972d2?d=identicon)[Dr H](/maintainers/Dr%20H)

![](https://www.gravatar.com/avatar/33e07419d7572a9f919990a3d01ff1177f69841d3ae5151f7afcb4f6e10533b2?d=identicon)[nabcellent](/maintainers/nabcellent)

---

Top Contributors

[![DrH97](https://avatars.githubusercontent.com/u/22273907?v=4)](https://github.com/DrH97 "DrH97 (117 commits)")[![Nabcellent](https://avatars.githubusercontent.com/u/68481507?v=4)](https://github.com/Nabcellent "Nabcellent (103 commits)")

---

Tags

billingkyandalaravellibrarypackagepaymentsphputilitieslibrarypaymentsBankmobile-moneyUtility PaymentsPayment CollectionsKyanda

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nabcellent-laravel-kyanda/health.svg)

```
[![Health](https://phpackages.com/badges/nabcellent-laravel-kyanda/health.svg)](https://phpackages.com/packages/nabcellent-laravel-kyanda)
```

###  Alternatives

[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[omalizadeh/laravel-multi-payment

A driver-based laravel package for online payments via multiple gateways

491.1k](/packages/omalizadeh-laravel-multi-payment)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

191.6k](/packages/itsmurumba-laravel-mpesa)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
