Skip to content

Laravel package to wrap Mpesa Daraja APIs for the lazy developers

License

Notifications You must be signed in to change notification settings

Ghostscypher/laravel-mpesa

Repository files navigation

Laravel Mpesa

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.

About

Laravel package to wrap Mpesa Daraja APIs for the lazy developers

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages