Skip to content

felixomundi/laravel_mpesa

Repository files navigation

Complete stk push in laravel and save to mysql database To use this package

  1. you need to sign in to ngrok and get access to an authtoken which you should past it inside your .env
  2. Create an account in daraja portal https://developer.safaricom.co.ke and get access access to your test credentials then paste it inside your .env
  3. Run this command nodemon index.js and the url you get paste it at .env on APP_URL
  4. Create a database and Run your migrations
  5. Start your project by running php artisan serve

That's it.