bonch.dev / php-gratapay
PHP package for Gratapay
v0.0.3
2021-01-25 14:46 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: ^6.5.5
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-03-25 23:26:34 UTC
README
PHP package for Gratapay.
Installation
Run composer require bonch.dev/php-gratapay
.
Usage
There are 3 classes:
BonchDev\PHPGratapay\GratapayAPI
– API client for GratapayBonchDev\PHPGratapay\GratapayRequest
– collect data for requestsBonchDev\PHPGratapay\GratapayResponse
– handle response from service
You need authKey
and secretKey
for performing requests.
Provide this to BonchDev\PHPGratapay\GratapayAPI
constructor.