epmnzava/mpesa-tanzania

PHP Laravel library for mpesa - Tanzania

1.0.1 2021-05-26 09:36 UTC

This package is auto-updated.

Last update: 2024-04-27 03:05:17 UTC


README

mpesa-tanzania.png

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"