PHPackages                             kemboielvis/mpesa-sdk-php - 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. kemboielvis/mpesa-sdk-php

ActiveLibrary[Payment Processing](/categories/payments)

kemboielvis/mpesa-sdk-php
=========================

v2.2.1(3mo ago)95753PHP

Since Jan 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/kemboi22/mpesa-php-sdk)[ Packagist](https://packagist.org/packages/kemboielvis/mpesa-sdk-php)[ RSS](/packages/kemboielvis-mpesa-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)DependenciesVersions (12)Used By (0)

M-Pesa PHP SDK
==============

[](#m-pesa-php-sdk)

A PHP SDK for Safaricom M-Pesa APIs with batteries included: STK Push, C2B, B2C, Reversals, Transaction Status, and more. Now with multi-process safe token caching (lock + atomic writes).

Requirements
------------

[](#requirements)

- PHP 8.0+
- ext-curl, ext-openssl (installed by default on most PHP builds)
- Composer for library installation

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

[](#installation)

```
composer require kemboielvis/mpesa-sdk-php
```

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

[](#quick-start)

```
