epmnzava / mpesa-tanzania
PHP Laravel library for mpesa - Tanzania
1.0.1
2021-05-26 09:36 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: ^6.0|^7.0
- illuminate/support: ^8.0
- phpseclib/phpseclib: ^2.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
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"