Skip to content

ssiva13/mpesa-daraja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  • Laravel Lumen Installation

    composer require ssiva/mpesa-lumen-sdk
    

    How to implement it? Read docs here.

  • Yii2 Installation

    composer require --prefer-dist ssiva/yii2-mpesa-sdk
    

    How to implement it? Read docs here.

  • 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

Kelvin Mukotso

License

The M-Pesa Package is open-sourced software licensed under the MIT license.