{"id":20305715,"url":"https://github.com/bitpay/php-bitpay-client-v2","last_synced_at":"2026-02-28T00:55:33.251Z","repository":{"id":37549377,"uuid":"208238897","full_name":"bitpay/php-bitpay-client-v2","owner":"bitpay","description":"PHP implementation for the BitPay Cryptographically Secure RESTful API","archived":false,"fork":false,"pushed_at":"2025-05-05T00:05:57.000Z","size":3381,"stargazers_count":44,"open_issues_count":3,"forks_count":42,"subscribers_count":7,"default_branch":"9.2.x","last_synced_at":"2025-05-14T03:24:03.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitpay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-13T10:00:41.000Z","updated_at":"2025-04-22T12:54:35.000Z","dependencies_parsed_at":"2024-01-26T01:31:53.234Z","dependency_job_id":"0fcd13f4-3c4a-4c72-8b4c-cc17baca8098","html_url":"https://github.com/bitpay/php-bitpay-client-v2","commit_stats":{"total_commits":311,"total_committers":18,"mean_commits":17.27777777777778,"dds":0.6752411575562701,"last_synced_commit":"c04d79b79977d18ab996dd84f9c1891619904110"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fphp-bitpay-client-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fphp-bitpay-client-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fphp-bitpay-client-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fphp-bitpay-client-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitpay","download_url":"https://codeload.github.com/bitpay/php-bitpay-client-v2/tar.gz/refs/heads/9.2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527074,"owners_count":22085918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T17:09:30.888Z","updated_at":"2025-11-24T19:02:16.591Z","avatar_url":"https://github.com/bitpay.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://bitpay.com/_nuxt/img/bitpay-logo-blue.1c0494b.svg\" width=\"150\"\u003e\n\n# BitPay PHP Client\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/bitpay/php-bitpay-client-v2/master/LICENSE)\n[![Packagist](https://img.shields.io/packagist/v/bitpay/sdk.svg?style=flat-square)](https://packagist.org/packages/bitpay/sdk)\n[![Total Downloads](https://poser.pugx.org/bitpay/sdk/downloads.svg)](https://packagist.org/packages/bitpay/sdk)\n\nFull implementation of the BitPay Payment Gateway. This library implements BitPay's [Cryptographically Secure RESTful API](https://developer.bitpay.com/reference/concepts).\n\n## Getting Started\n\nTo get up and running with our PHP library quickly, follow [the guide](https://developer.bitpay.com/reference/php-full-sdk-getting-started)\n\n## Support\n\n* https://github.com/bitpay/php-bitpay-client-v2/issues\n* https://support.bitpay.com\n\n### Requirements\n\n- PHP version: 8.1 / 8.2 / 8.3\n- PHP extensions: json, reflection\n\n## Unit Tests\n```php\n./vendor/bin/phpunit --testsuite \"Unit\"\n```\n\n## Functional Tests\n\nTo run functional tests you will need to perform the following steps.\n\n### Generate Configuration\n\n\nRun the following command to generate `BitPay.config.yml`:\n\n```bash\ncomposer setup\n```\n\nCopy `BitPay.config.yml` to the `test/functional/BitPaySDK` directory.\n\nCopy `PrivateKeyName.key` to the `setup` directory.\n\n### Create Recipient\n\nTo submit requests you should:\n\n1. Create a recipient in https://test.bitpay.com/dashboard/payouts/recipients\n2. Accept the invite in the recipient's email inbox\n3. Create a file at `test/functional/BitPaySDK/email.txt` containing the email\n   address of the recipient you created in step 1.\n\n### Run the Functional Tests\n\nRun the following command to execute the functional tests:\n\n```php\n./vendor/bin/phpunit --testsuite \"Functional\"\n```\n\n## Contribute\n\nTo contribute to this project, please fork and submit a pull request.\n\n## License\n\nMIT License\n\nCopyright (c) 2019 BitPay\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fphp-bitpay-client-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitpay%2Fphp-bitpay-client-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fphp-bitpay-client-v2/lists"}