itdev-pro / moneygate-php
PHP-SDK library for work with Moneygate API
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 2
pkg:composer/itdev-pro/moneygate-php
Requires
- vlucas/phpdotenv: ^5.6@dev
Requires (Dev)
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2025-12-26 15:21:59 UTC
README
PHP SDK to interact with Moneygate API
Moneygate API documentation available here
Developer Documentation
The docs folder provides detailed guides for using this library.
Installation
This library can be found on Packagist. The recommended way to install this is through composer.
$composer require itdev-pro/moneygate-php
Quick start
<?php use Dotenv\Dotenv; use sdk_moneygate\Auth; use sdk_moneygate\Balance; class BalanceExample { public function getBalanceExample(): array { $dotenv = Dotenv::createImmutable(__DIR__); $dotenv->load(); $auth = new Auth($_ENV['RIGHT_PRIVATE_KEY'], $_ENV['TOKEN']); $result = new Balance($auth, true); return $result; } } ?>
Examples
Tests
vendor/bin/phpunit
