PHPackages                             kevin-kibet/lipisha-sdk - 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. kevin-kibet/lipisha-sdk

ActiveLibrary[Payment Processing](/categories/payments)

kevin-kibet/lipisha-sdk
=======================

Lipisha Payments SDK

v1.0(10y ago)02MITPHPPHP &gt;=5.3.0

Since Nov 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kevin-kibet/lipisha-php-sdk)[ Packagist](https://packagist.org/packages/kevin-kibet/lipisha-sdk)[ RSS](/packages/kevin-kibet-lipisha-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Lipisha Payments PHP SDK
========================

[](#lipisha-payments-php-sdk)

This package provides bindings for the Lipisha Payments API ()

- Free software: MIT license
- Documentation:

Features
--------

[](#features)

- Send money
- Acknowledge transactions
- Send SMS
- Get Float
- Get Balance
- Charge card transactions
- Search transactions
- Search customers
- Add users
- Add payment accounts and withdrawal accounts

Installation
------------

[](#installation)

This package can be installed using composer

> composer require lipisha/sdk

Or added to your composer dependencies:

```
{
    "require": {
        "lipisha/sdk": "^1.0"
    },
}
```

For existing composer projects, you can immediately start using lipisha:

```
$lipisa = new \Lipisha\Lipisha("", "", "")
```

For all other usecases, you can include the generated composer class autoloader.

```
require_once "vendor/autoload.php"
```

Examples
--------

[](#examples)

IPN callback examples are in the examples directory:

Quick start
-----------

[](#quick-start)

```
$lipisha = new \Lipisha\Lipisha("", "", "LIVE");
// To connect to the sandbox, pass the environment asm ``TEST`` instead.

// Get balance
$response = $lipisha.get_balance();
print_r($response)
$balance = $response->content["balance"];

// Send money
$payout_account = "033111";
$response = $lipisha->send_money($payout_account, "0722123456", 500);
$status = $response->status; //SUCCCESS or FAIL

// Acknowledge a transaction
$response = $lipisha->confirm_transaction("TX98089890");
$status = $response->status; //SUCCESS or FAIL
$content = $response->content; //Transaction details
```

Running Tests
-------------

[](#running-tests)

Running tests requires php unit and setting up environment variables for authentication:

First, run composer to install dependencies:

```
composer install
```

Then set up environmental variables for authentication:

```
export LIPISHA_API_KEY=""
export LIPISHA_API_SIGNATURE=""
```

Run the tests:

```
phpunit tests/LipishaTest.php
```

Majority of tests require setting up parameters in the test suite.

See class documentation for detailed API. Refer to Lipisha API for parameters required for each method.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

3838d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6f37eab1ebf760ff164a04cd411556ad09521738065611bd353af42d167c6c5?d=identicon)[kevin-kibet](/maintainers/kevin-kibet)

---

Top Contributors

[![rithi](https://avatars.githubusercontent.com/u/31948434?v=4)](https://github.com/rithi "rithi (3 commits)")[![bmurithi](https://avatars.githubusercontent.com/u/6918709?v=4)](https://github.com/bmurithi "bmurithi (2 commits)")[![kevin-kibet](https://avatars.githubusercontent.com/u/8529306?v=4)](https://github.com/kevin-kibet "kevin-kibet (2 commits)")

### Embed Badge

![Health badge](/badges/kevin-kibet-lipisha-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kevin-kibet-lipisha-sdk/health.svg)](https://phpackages.com/packages/kevin-kibet-lipisha-sdk)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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