alphaolomi / php-evpay
Payments with Evpay
Fund package maintenance!
alphaolomi
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- laravel/pint: ^1.2
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-07 01:32:47 UTC
README
Installation
You can install the package via Composer:
composer require alphaolomi/laravel-evpay
Usage
use Alphaolomi\EvPay\EvPayService; $evPayClient = new EvPayService([ 'name' => 'E-learning Platform', 'username' => 'username', 'callback' => 'https://e-learn-platform.com/callback', ]); $response = $evPayClient->paymentRequest([ 'mobileNo' => '0747991498', 'amount' => 3000, 'product' => 'Monthly Subscription', 'network' => 'Mpesa', ]); var_dump($response);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.