An open API service indexing awesome lists of open source software.

https://github.com/ssiva13/mpesa-daraja

M-Pesa Daraja Version API implementation
https://github.com/ssiva13/mpesa-daraja

composer daraja-api laravel lumen mpesa php

Last synced: about 1 month ago
JSON representation

M-Pesa Daraja Version API implementation

Awesome Lists containing this project

README

        

## DARAJA API Library

This is a PHP package for the Safaricom's M-Pesa Daraja REST API.

### Installation

The project is compatible with the composer dependency management tool.

1. Run the following command to install using composer

- #### Laravel Installation
```
composer require ssiva/mpesa-laravel-sdk
```
#### How to implement it? [Read docs here](https://github.com/ssiva13/mpesa-laravel-sdk/blob/v1.1.5/README.md).

- #### Laravel Lumen Installation
```
composer require ssiva/mpesa-lumen-sdk
```
#### How to implement it? [Read docs here](https://github.com/ssiva13/mpesa-lumen-sdk#readme).

- #### Yii2 Installation
```
composer require --prefer-dist ssiva/yii2-mpesa-sdk
```
#### How to implement it? [Read docs here](https://github.com/ssiva13/yii2-mpesa-sdk#readme).

- #### Symfony Installation -- coming soon
```
composer require "ssiva/mpesa-daraja":"dev-symfony"
```

- #### Installation Without Composer -- coming soon
```
git clone https://github.com/ssiva13/mpesa-daraja.git
```
or

Download Zip from `https://github.com/ssiva13/mpesa-daraja/archive/refs/heads/develop.zip`

## Contributors

I express my appreciation to the Ninjas who assisted me throughout the integration process and taught me valuable
lessons or provided useful code during the journey.

| | |
|--------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [
Simon Siva](https://github.com/ssiva13) | [
Kelvin Mukotso](https://github.com/mukotso) |

## License

The M-Pesa Package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).