nishant / airtel-money-php-sdk
A PHP SDK for Airtel Money Collection API, compatible with Laravel.
v1.0.2
2025-05-23 07:55 UTC
Requires
- php: ^7.4 || ^8.0
- illuminate/http: ^7.0||^8.0 || ^9.0 || ^10.0
- illuminate/support: ^7.0||^8.0 || ^9.0 || ^10.0
This package is auto-updated.
Last update: 2025-05-23 11:44:04 UTC
README
A lightweight PHP SDK to integrate Airtel Money Collection API v2 with Laravel (PHP 7.4+).
It supports OAuth2 authentication, initiating payment collections, and handling Airtel callbacks easily.
Features
- OAuth2 Client Credentials token management
- Initiate payment collections (merchant → customer)
- Laravel Service Provider for easy integration
- Configuration publishing
- Example webhook callback handler
Requirements
- PHP 7.4 or higher
- Laravel 8.x, 9.x, or 10.x
- Composer
Installation
Install via Composer:
composer require nishant/airtel-money-php-sdk
php artisan vendor:publish --provider="AirtelMoney\AirtelMoneyServiceProvider" --tag=config