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

ActiveLibrary[Payment Processing](/categories/payments)

lipisha/sdk
===========

Lipisha Payments SDK

v1.0.1(7y ago)1046917MITPHPPHP &gt;=5.3.0

Since Nov 9Pushed 7y ago7 watchersCompare

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

READMEChangelog (1)DependenciesVersions (3)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

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity59

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

Every ~1318 days

Total

2

Last Release

2612d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3910122?v=4)[Eric Murithi](/maintainers/murithi)[@Murithi](https://github.com/Murithi)

![](https://avatars.githubusercontent.com/u/129571?v=4)[Martin Kasomo](/maintainers/martqasomo)[@martqasomo](https://github.com/martqasomo)

---

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)")[![jkoech](https://avatars.githubusercontent.com/u/365745?v=4)](https://github.com/jkoech "jkoech (2 commits)")[![martqasomo](https://avatars.githubusercontent.com/u/129571?v=4)](https://github.com/martqasomo "martqasomo (2 commits)")[![richardkeep](https://avatars.githubusercontent.com/u/3874381?v=4)](https://github.com/richardkeep "richardkeep (1 commits)")

### Embed Badge

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

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

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[xfoxawy/2checkout

2Checkout API Service Provider

101.1k](/packages/xfoxawy-2checkout)

PHPackages © 2026

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