brokeyourbike / yogupay-api-client
YoguPay API Client for PHP
Fund package maintenance!
brokeyourbike
Open Collective
Requires
- php: ^8.1
- brokeyourbike/data-transfer-object: ^0.2.0
- brokeyourbike/has-source-model: ^2.0
- brokeyourbike/http-client: ^1.0
- brokeyourbike/http-enums: ^2.0
- brokeyourbike/resolve-uri: ^1.0
- psr/simple-cache: ^1.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- mockery/mockery: ^1.4
- nesbot/carbon: ^2.53
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-09-10 09:37:13 UTC
README
YoguPay API Client for PHP
Installation
composer require brokeyourbike/yogupay-api-client
Usage
use BrokeYourBike\YoguPay\Client; use BrokeYourBike\YoguPay\Interfaces\ConfigInterface; assert($config instanceof ConfigInterface); assert($httpClient instanceof \GuzzleHttp\ClientInterface); assert($psrCache instanceof \Psr\SimpleCache\CacheInterface); $apiClient = new Client($config, $httpClient, $psrCache); $apiClient->getAuthToken();
Authors
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk