edlugz/daraja

Laravel package for Mpesa Daraja

0.3.5 2024-11-04 08:49 UTC

README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

composer require edlugz/daraja

Publish Migration Files

php artisan vendor:publish --provider="EdLugz\Daraja\DarajaServiceProvider" --tag="migrations"

Fill in all the details you will be requiring for your application. Here are the env variables for quick copy paste.

DARAJA_STK_RESULT_URL=
DARAJA_BALANCE_RESULT_URL=
DARAJA_MOBILE_RESULT_URL=
DARAJA_TILL_RESULT_URL=
DARAJA_PAYBILL_RESULT_URL=
DARAJA_REVERSAL_RESULT_URL=
DARAJA_TRANSACTION_QUERY_MOBILE_RESULT_URL=
DARAJA_TRANSACTION_QUERY_TILL_RESULT_URL=
DARAJA_TRANSACTION_QUERY_PAYBILL_RESULT_URL=
DARAJA_TIMEOUT_URL=
DARAJA_BALANCE_URL=

Usage

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email eddy.lugaye@gmail.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.