btcpayserver-php-client
btcpayserver-php-client copied to clipboard
Progressing the PHP Client
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?
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.
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