ghostscypher/laravel-mpesa

This is a wrapper around Mpesa APIs for Laravel.

V1.0-RC1 2024-08-27 22:16 UTC

This package is auto-updated.

Last update: 2024-08-31 08:06:29 UTC


README

Latest Version on Packagist Build Status Total Downloads

This package provides a simple way to integrate Mpesa APIs in your Laravel application. This package is targeted at developers who are looking to integrate Mpesa APIs in their Laravel applications. In addition to the Mpesa APIs, this package also provides a simple way to handle the Mpesa callbacks. Hence the name "Mpesa package for the lazy developer 😉".

APIs Supported

  • B2C
  • B2B
  • C2B
  • BillManager
  • Reversal
  • Transaction Status
  • Account Balance
  • QR Code Generation

Compatibility

This package is compatible with Laravel 7.x and above.

Installation

You can install the package via composer:

composer require ghostscypher/mpesa

After installing run

php artisan mpesa:install

In order to publish assets

Documentation

The documentation for this package can be found on https://docs.algoskech.co.ke/laravel-mpesa.

You can support us by starring this repository.

If you found a bug, have a suggestion or need help, feel free to create an issue.

If you find a security vulnerability, please follow the procedure in SECURITY.md.

Alternatives

If you don't like our package, do try out one of these alternatives:

Testing

composer test

Upgrading

Please see UPGRADING for details.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please send an email to algoskechsolutions@gmail.com.

See SECURITY.md for more information.

Credits

License

The MIT License (MIT). Please see License File for more information.