grishonmunene/mpesa-stk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

grishonmunene/mpesa-stk

Composer 安装命令:

composer require grishonmunene/mpesa-stk

包简介

M-Pesa STK Push integration for Laravel

README 文档

README

A Laravel 12 package that integrates M-Pesa Daraja STK Push as a vendor, making it easy to initiate and process mobile money payments in your application.

Features

  • ✅ Easy integration with Laravel 12
  • ✅ Configurable via .env
  • ✅ Handles STK Push requests and callbacks
  • ✅ Works with Safaricom M-Pesa Daraja API

Installation

composer require grishonmunene/mpesa-stk

## Publish vendor
php artisan vendor:publish --provider="GrishonMunene\MpesaStk\MpesaStkServiceProvider"

## Add the following environment variables to your .env file:
MPESA_STK_CONSUMER_KEY=your_consumer_key
MPESA_STK_CONSUMER_SECRET=your_consumer_secret
MPESA_STK_PASSKEY=your_passkey
MPESA_STK_SHORTCODE=your_shortcode
MPESA_STK_CALLBACK_URL=your_callback_url
MPESA_STK_ENVIRONMENT=sandbox

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-29