Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Readme.md #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 1 addition & 58 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,58 +1 @@
# cliqpay
### LiqPay on C. PHP extension for the LiqPay API

API documentation (en): [www.liqpay.ua/documentation/en](https://www.liqpay.ua/documentation/en)

API documentation (ru): [www.liqpay.ua/documentation/ru](https://www.liqpay.ua/documentation/ru)

## Compile

PHP Supported Versions : 7.0 >= 7.4.4

### Dependencies

1. Standard
2. Spl
3. Curl
4. Json

----------------------------------------------

****You must make sure that you have all the necessary libraries for the normal operation of cURL, more information [here](https://www.php.net/manual/en/curl.installation.php)***

----------------------------------------------

##### Commands:

*Standard :*

`--enable-cli --enable-cgi --enable-json --enable-liqpay`

*Fast and clean :*

`--disable-all --enable-cli --enable-cgi --enable-json --enable-liqpay`

To enable [ZTS](http://www.phpinternalsbook.com/php7/extensions_design/globals_management.html#using-tsrm-macros-to-protect-global-space) you need to add `--enable-zts` and to disable it `--disable-zts`

And to use this extension in production, add the command `--enable-liqpay-release`

Example : `--disable-all --enable-cli --enable-cgi --enable-json --enable-liqpay --enable-liqpay-release`

---------------------------------------------

****You need to download a version of Visual Studio in advance (Community is fine) for a specific version of PHP***

#### To compile on Windows you need to download the appropriate version of phpsdk:
**[7.4](https://windows.php.net/download#php-7.4)**

**[7.3](https://windows.php.net/download#php-7.3)**

**[7.2](https://windows.php.net/download#php-7.2)**

#### or download php-sdk from Microsoft:

[php-sdk-binary-tools](https://github.com/microsoft/php-sdk-binary-tools)

#### or download compiled libraries for your architecture and version PHP [here](https://github.com/OsvoDev/cliqpay/releases/tag/1.0.0)

#### To compile on Linux :
https://github.com/victor-simon/c-liqpay