PHPackages                             grishonmunene/mpesa-stk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. grishonmunene/mpesa-stk

ActiveLibrary[API Development](/categories/api)

grishonmunene/mpesa-stk
=======================

M-Pesa STK Push integration for Laravel

00PHP

Since Aug 30Pushed 8mo agoCompare

[ Source](https://github.com/MuneneMuchungu/mpesa-stk-push-laravel)[ Packagist](https://packagist.org/packages/grishonmunene/mpesa-stk)[ RSS](/packages/grishonmunene-mpesa-stk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

M-Pesa STK Push Laravel 12 Vendor Package
=========================================

[](#m-pesa-stk-push-laravel-12-vendor-package)

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
--------

[](#features)

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

---

Installation
------------

[](#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
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance43

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f292db9c2681caa8e220a6de949c53885fd39dd3f397a6f411ec86969d36bf7?d=identicon)[Grishon Munene](/maintainers/Grishon%20Munene)

---

Top Contributors

[![MuneneMuchungu](https://avatars.githubusercontent.com/u/191055706?v=4)](https://github.com/MuneneMuchungu "MuneneMuchungu (4 commits)")

### Embed Badge

![Health badge](/badges/grishonmunene-mpesa-stk/health.svg)

```
[![Health](https://phpackages.com/badges/grishonmunene-mpesa-stk/health.svg)](https://phpackages.com/packages/grishonmunene-mpesa-stk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
