Download the PHP package salymmbise/evpay without Composer
On this page you can find all versions of the php package salymmbise/evpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package evpay
EvPay PHP SDK
Lightweight PHP SDK for integrating with the EvPay MNO Payment Gateway. Supports payment requests, reconciliation, and callback handling.
๐ Installation
Install via Composer:
โ๏ธ Requirements
- PHP 8.1+
- Composer
๐ฆ Basic Usage
1. Initialize Client
2. Send Payment Request
3. Check Transaction (Reconciliation)
๐ Callback Handling
Your system must handle payment confirmation from EvMak.
Example (Laravel)
๐ Hash Generation
The API uses MD5 hashing:
This is handled automatically by the SDK.
๐ฑ Supported Networks
- Mpesa
- TigoPesa
- AirtelMoney
- HaloPesa
โ ๏ธ Best Practices
- Always store transactions before sending requests
- Use unique references (
uniqid()or UUID) - Secure your callback endpoint
- Log all API responses
- Implement retries for failed requests
๐งช Testing
Use sandbox/test endpoint provided by EvMak before going live.
โ Error Handling
Typical response codes:
| Code | Meaning |
|---|---|
| 200 | Success |
| 403 | Authentication failed |
| 404 | Wrong destination |
| 500 | Server error |
๐ค Contributing
Pull requests are welcome. For major changes, open an issue first.
๐ License
MIT License
All versions of evpay with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^7.0
The package salymmbise/evpay contains the following files
Loading the files please wait ...