coinfide / php-sdk
Coinfide.com PHP SDK
Installs: 121
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 2
pkg:composer/coinfide/php-sdk
Requires
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: ~5.2
- symfony/debug: ~3.0
- vlucas/phpdotenv: ^2.2
This package is not auto-updated.
Last update: 2025-10-24 11:25:44 UTC
README
Installation
Require it with Composer composer require confide/php-sdk dev-master.
Requirements
The server should support TLS 1.2. It means OpenSSL version > 1.0.1 and Curl > 7.43, check the library versions your PHP is compiled against.
Running
Basically, all parameters are passed to Coinfide\Client constructor. Supported parameters are:
sslOptions: array of curl options to pass to the client;trace: passing'trace' => truedumps all requests (made and received) to console.
Examples
Copy .env.example to .env and run the tests or examples. The following examples are included:
example.php- example order creation, and redirection to payment form;callback.php- example callback processing;orderlist.php- getting list of orders, fetching order details;refund.php- payment refund;status.php- changing order status (cancelling order).
Further reading
Read full documentation in the wiki