zenki / zenkipay
The Zenkipay SDK for PHP provides convenient access to the Zenkipay API from applications written in the PHP language.
Requires
- php: >=7.4
- php-http/client-common: ^2.6
- php-http/discovery: ^1.14
- psr/http-client: ^1.0
- psr/http-client-implementation: ^1.0
- psr/http-factory: ^1.0
- symfony/options-resolver: ^5.4|^6.1|^6.2
Requires (Dev)
- laminas/laminas-diactoros: ^2.17
- php-http/curl-client: ^2.2
- php-http/mock-client: ^1.5
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^5.4
README
The Zenkipay SDK for PHP provides convenient access to the Zenkipay API from applications written in the PHP language.
Requirements
- PHP >= 7.4
- A PSR-17 implementation
- A PSR-18 implementation
Getting started
Install
To install the SDK you will need to be using Composer in your project. To install it please see the docs.
This package (zenki/zenkipay
) is not tied to any specific library that sends HTTP messages. Instead, it uses Httplug to let users choose whichever PSR-7 implementation and HTTP client they want to use.
If you just want to get started quickly you should run the following command:
composer require zenki/zenkipay php-http/curl-client
This will install the library itself along with an HTTP client adapter that uses cURL as transport method (provided by Httplug). You do not have to use those packages if you do not want to. The SDK does not care about which transport method you want to use because it's an implementation detail of your application. You may use any package that provides php-http/async-client-implementation
and http-message-implementation
.
License
zenkipay-sdk-php
is licensed under the Apache 2.0 License - see the LICENSE file for details.