[BREAKGLASS] PHP implementation for the BTCPayServer cryptographically secure RESTful API
Go to file
2019-08-15 19:53:47 +02: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 Removed use of "network" which is a BitPay concept. Examples need further fine tuning. 2019-08-15 19:20:40 +02:00
src/BTCPayServer Removed dependancy on Symfony 2019-08-15 19:31:42 +02: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 Removed dependancy on Symfony 2019-08-15 19:31:42 +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 Readme changes 2019-08-15 19:53:47 +02:00
VERSION Readme changes 2019-08-15 19:53:47 +02:00

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/CustomIntegration.md

Before you start

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

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