Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Progressing the PHP Client #50

Open
damanic opened this issue Sep 11, 2021 · 2 comments
Open

Progressing the PHP Client #50

damanic opened this issue Sep 11, 2021 · 2 comments

Comments

@damanic
Copy link

damanic commented Sep 11, 2021

Is this PHP Client for btcpayserver still worth using?

Official BTCPayServer docs point directly to this Repo.
https://docs.btcpayserver.org/CustomIntegration/

Yet this repo appears to be incomplete with no releases since 2019.

It appears incomplete because it has references to a class that does not exist, and yml configuration method that does not appear to be supported.

$btcpay = new \BTCPayServer\BTCPayServer(__DIR__ . '/config.yml');

It also points to the bitpay repository from which it was cloned, suggesting that this repo may diverge from full compatibility with BitPay.
https://github.com/btcpayserver/php-bitpay-client

And then there is a actively maintained bitpay PHP v2 client here:
https://github.com/bitpay/php-bitpay-client-v2

I am confused as to which library I should leverage for a new integration. Will the bitpay client continue to be compatible with BTCPayServer? Or would it be better to progress and maintain a PHP client for btcpayserver?

@damanic
Copy link
Author

damanic commented Sep 11, 2021

Ah! I just found: https://github.com/btcpayserver/btcpayserver-greenfield-php

And I am guessing BTCPayServer docs have not been updated as there is no official release yet - work in progress.

Perhaps update the README on this repo to indicate it is being superseded.

@woutersamaey
Copy link
Collaborator

You should start to use the new Greenfield API. We have a PHP library in the works. It does not have an official release yet, but the calls that are implemented are mostly stable.

Help and feedback are welcome!

https://github.com/btcpayserver/btcpayserver-greenfield-php

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants