[BREAKGLASS] PHP implementation for the BTCPayServer cryptographically secure RESTful API
Go to file
2021-11-08 21:03:54 +09:00
build replace user psyb0t with btcpayserver org + more bitpay rm 2019-03-12 15:37:48 +02:00
docs replace user psyb0t with btcpayserver org + more bitpay rm 2019-03-12 15:37:48 +02:00
examples composer changed back to original 2020-10-02 14:35:59 +02:00
src/BTCPayServer Fixing SSL bundle problem for expired lets encrypt root cert. 2021-11-02 12:49:00 +01:00
.coveralls.yml Forgot to add the coveralls config 2014-11-05 09:48:27 -05:00
.editorconfig This introduces new steps to check the format of price 2015-06-17 14:56:20 -04:00
.gitignore Merged changes from BitPay v4 API - not fully tested yet 2019-08-15 18:48:02 +02:00
.travis.yml Update .travis.yml to also test against PHP 7.2 2017-12-01 12:40:20 +01:00
behat.yml Tests now can be applied to any server 2015-01-02 18:12:11 -05:00
build.xml Replace bitpay strings with btcpayserver and remove a couple of unrelated stuff 2019-03-06 09:18:25 +02:00
CHANGELOG.md Replace bitpay strings with btcpayserver and remove a couple of unrelated stuff 2019-03-06 09:18:25 +02:00
composer.json composer.json - original name 2020-10-02 14:38:14 +02:00
integration_tests.sh replace user psyb0t with btcpayserver org + more bitpay rm 2019-03-12 15:37:48 +02:00
LICENSE.md Replace bitpay strings with btcpayserver and remove a couple of unrelated stuff 2019-03-06 09:18:25 +02:00
Makefile Mink/Behat testing begun 2014-12-11 15:29:22 -05:00
package.json replace user psyb0t with btcpayserver org + more bitpay rm 2019-03-12 15:37:48 +02:00
README.md Update README.md 2021-11-08 21:03:54 +09:00
VERSION Bumped version 2019-08-17 09:20:25 +02:00

=== Warning ===

This is the old BitPay based PHP client and should be considered deprecated (even though it currently still works). If you are building something from scratch, use the new Greenfield API.

btcpayserver/btcpayserver-php-client

GitHub license Travis Packagist Code Climate Scrutinizer Coveralls

Documentation Status Total Downloads Latest Unstable Version

This is a self-contained PHP implementation of BTCPayServer's cryptographically secure API: https://github.com/btcpayserver/btcpayserver-doc/blob/master/docs/CustomIntegration.md

Before you start

If your application requires BitPay compatibility go to this repository instead https://github.com/btcpayserver/php-bitpay-client

The files in "examples" are migrated from previous versions and are UNTESTED. If someone can review the example files and improve them, please help out.

Important upgrade notes

Version 0.2.0

  • The latest changes made in BitPay's v4 API are now reflected in this API.
  • If you previously had "401 unauthorized" issues with this API, these should now be fixed.
  • This PHP API no longer depends on Symfony, making this framework independent. If you were using this API in combination with Symfony and require a Symfony service, you can get the old files from the old-master branch. We recommended you to keep the Symfony stuff separate.

Version 0.1.2

  • Previous versions were not numbered.

Installation

Composer

Install Composer

curl -sS https://getcomposer.org/installer | php

Install using composer

php composer.phar require btcpayserver/btcpayserver-php-client

Configuration

See https://github.com/btcpayserver/btcpayserver-php-client/tree/master/examples

Usage

Documentation

Please see the docs directory for information on how to use this library and the examples directory for examples on using this library. You should be able to run all the examples by running php examples/File.php.

The examples/tutorial directory provides four scripts that guide you with creating a BTCPayServer invoice: https://github.com/btcpayserver/btcpayserver-php-client/blob/master/examples/tutorial/

Support