{"repo":"karson/mpesa-php-sdk","free":true,"listed":false,"github":"https://github.com/karson/mpesa-php-sdk","clone":"git clone https://github.com/karson/mpesa-php-sdk.git","description":"A PHP sdk for the new Vodacom Mpesa RESTful APIs :mozambique:","language":"PHP","stars":17,"topics":["mpesa-api","mpesa-sdk","mpesa","payment-gateway","mpesa-php-sdk","mpesa-apis","mpesa-online","online-payments","php","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Mpesa Mozambique PHP SDK A comprehensive PHP SDK for integrating with M-Pesa Mozambique APIs. This package provides a clean, modern interface for all M-Pesa operations with robust error handling, callback processing, and extensive validation. Features - 🚀 Modern PHP 8.1+ Support : Built with modern PHP features including typed properties, named arguments, and enums - 📦 Unified Response Architecture : Streamlined response classes with eliminated code duplication ( 90% reduction) - 🔄 Callback Handler System : Complete callback processing with event-driven architecture (TODO) - ✅ Type Safety : Strongly typed responses with specific methods for each operation - 🏗️ Clean Architecture : Organized structure with dedicated response classes and clear inheritance - 🔐 Security First : Built-in signature validation, parameter sanitization, and secure token management - 📊 Transaction Operations : Full support for C2B, B2C, B2B transactions with sync/async modes - 🔍 Query Operations : Transaction status queries and customer name lookups - 💰 Refund/Reversal : Complete transaction reversal support with partial refund capabilities - 🎯 Smart Validation : Comprehensive parameter validation with detailed error messages - 📱 Laravel Integration : Native Laravel service provider with configuration publishing - 🔧 Developer Experience : Extensive examples, comprehensive documentation, and debugging tools Installation You can install the package via composer: Usage Basic Setup Customer to B","default_branch":null,"files":null,"tree":[],"storefront":"/r/karson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/karson/mpesa-php-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}