Download the PHP package bitpay/sdk without Composer
On this page you can find all versions of the php package bitpay/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sdk
BitPay PHP Client
Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.
Getting Started
To get up and running with our PHP library quickly, follow the guide
Support
Requirements
- PHP version: 8.1 / 8.2 / 8.3
- PHP extensions: json, reflection
Unit Tests
Functional Tests
To run functional tests you will need to perform the following steps.
Generate Configuration
Run the following command to generate BitPay.config.yml
:
Copy BitPay.config.yml
to the test/functional/BitPaySDK
directory.
Copy PrivateKeyName.key
to the setup
directory.
Create Recipient
To submit requests you should:
- Create a recipient in https://test.bitpay.com/dashboard/payouts/recipients
- Accept the invite in the recipient's email inbox
- Create a file at
test/functional/BitPaySDK/email.txt
containing the email address of the recipient you created in step 1.
Run the Functional Tests
Run the following command to execute the functional tests:
Contribute
To contribute to this project, please fork and submit a pull request.
License
MIT License
Copyright (c) 2019 BitPay
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of sdk with dependencies
ext-json Version *
ext-reflection Version *
bitpay/key-utils Version ^1.1
guzzlehttp/guzzle Version ^7.0
symfony/yaml Version ^5.4 || ^6.0 || ^7.0
netresearch/jsonmapper Version ^4.1
symfony/console Version ^6.0