Download the PHP package say7ama/mpesa_sdk without Composer
On this page you can find all versions of the php package say7ama/mpesa_sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download say7ama/mpesa_sdk
More information about say7ama/mpesa_sdk
Files in say7ama/mpesa_sdk
Package mpesa_sdk
Short Description Software Development Kit for mpesa api payments for laravel
License MIT
Informations about the package mpesa_sdk
M-Pesa SDK, PHP, Laravel
Software Development Kit for mpesa api payments for laravel
Installation
Install using composer:
Usage
-
Add
Say7ama\MpesaSdk\MpesaServiceProvider::class
inconfig/app.php
. -
Use the command to publish the configuration file
Say7ama\MpesaSdk\MpesaServiceProvider::class
. -
Open
config/mpesa.php
file and add the require credentials as supplied by M-Pesa Developer Portal. -
If laravel not recognize the package configuration run:
-
Initiat transactions using:
- Choose the transaction type and pass the require params:
-
Transaction C2B Paymant (Customer to Business):
-
Transaction B2C Paymant (Business to Customer):
- Transaction B2B Paymant (Business to Business):
Require
License
This SDK is made available under the MIT License. Please see License File for more information.