dbrax / mpesa-tanzania

A laravel library or package for mpesa - Tanzania
MIT License
8 stars 1 forks source link

THIS PACKAGE IS YET TO BE READY JUST A SKELETON

Latest Version on Packagist Total Downloads Emmanuel Mnzava

This package is created to help developers intergrate with Vodacom Mpesa Tanzania open api. More information of this can be found here

Installation

Version Matrix

Version Laravel PHP Version
1.0.0 8.0 >= 8.0

You can install the package via composer:

composer require epmnzava/mpesa-tanzania

Update your config (for Laravel 5.4 and below)

Add the service provider to the providers array in config/app.php:

Epmnzava\MpesaTanzania\MpesaTanzaniaServiceProvider::class,

Add the facade to the aliases array in config/app.php:

'mpesa' =>\Epmnzava\MpesaTanzania\MpesaTanzaniaFacade::class,

Publish the package configuration (for Laravel 5.4 and below)

Publish the configuration file and migrations by running the provided console command:


php artisan vendor:publish --provider="Epmnzava\MpesaTanzania\MpesaTanzaniaServiceProvider"