{"id":20305711,"url":"https://github.com/bitpay/bitpay-php-keyutils","last_synced_at":"2026-02-28T04:25:26.249Z","repository":{"id":58479611,"uuid":"203208943","full_name":"bitpay/bitpay-php-keyutils","owner":"bitpay","description":"BitPay Key Utilities for PHP","archived":false,"fork":false,"pushed_at":"2025-03-23T23:25:12.000Z","size":146,"stargazers_count":8,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"2.1.x","last_synced_at":"2025-04-02T11:02:23.666Z","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-08-19T16:22:45.000Z","updated_at":"2025-03-23T23:25:16.000Z","dependencies_parsed_at":"2024-02-13T03:45:02.200Z","dependency_job_id":"485ba2bf-52ca-4875-ada2-8c7de03a9641","html_url":"https://github.com/bitpay/bitpay-php-keyutils","commit_stats":{"total_commits":35,"total_committers":6,"mean_commits":5.833333333333333,"dds":0.4,"last_synced_commit":"d17fe78d802f74103d730089ff7c3345fb25a9d7"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitpay-php-keyutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitpay-php-keyutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitpay-php-keyutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitpay%2Fbitpay-php-keyutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitpay","download_url":"https://codeload.github.com/bitpay/bitpay-php-keyutils/tar.gz/refs/heads/2.1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036067,"owners_count":21037092,"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:29.619Z","updated_at":"2026-02-28T04:25:24.981Z","avatar_url":"https://github.com/bitpay.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"bitpay/bitpay-php-keyutils\n=================\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/bitpay/bitpay-php-keyutils/master/LICENSE.md)\n[![Packagist](https://img.shields.io/packagist/v/bitpay/key-utils.svg?style=flat-square)](https://packagist.org/packages/bitpay/key-utils)\n[![Total Downloads](https://poser.pugx.org/bitpay/key-utils/downloads.svg)](https://packagist.org/packages/bitpay/key-utils)\n[![Latest Unstable Version](https://poser.pugx.org/bitpay/key-utils/v/unstable.svg)](https://packagist.org/packages/bitpay/key-utils)\n\nThis dependency file provides utilities for use with the BitPay API. It enables creating keys, retrieving public keys, retrieving private keys, creating the SIN that is used in retrieving tokens from BitPay, and signing payloads for the `X-Signature` header in a BitPay API request.\n\n# Installation\n\n## Composer\n\n### Install Composer\n\n```bash\ncurl -sS https://getcomposer.org/installer | php\n```\n\n### Install via composer by hand\n\nAdd to your composer.json file by hand.\n\n```javascript\n{\n    ...\n    \"require\": {\n        ...\n        \"bitpay/key-utils\": \"~2.0\"\n    }\n    ...\n}\n```\n\nOnce you have added this, just run:\n\n```bash\nphp composer.phar update bitpay/key-utils\n```\n\n### Install using composer\n\n```bash\nphp composer.phar require bitpay/key-utils:~2.0\n```\n\n# Usage\n\n## Autoloader\n\nTo use the library's autoloader (which doesn't include composer dependencies)\ninstead of composer's autoloader, use the following code:\n\n```php\n\u003c?php\n$autoloader = __DIR__ . '/relative/path/to/Bitpay/Autoloader.php';\nif (true === file_exists($autoloader) \u0026\u0026\n    true === is_readable($autoloader))\n{\n    require_once $autoloader;\n    \\Bitpay\\Autoloader::register();\n} else {\n    throw new Exception('BitPay Library could not be loaded');\n}\n```\n\n## Documentation\n\nPlease see the [examples.php](https://github.com/bitpay/bitpay-php-keyutils/blob/master/examples.php) script for examples on using this library.\n\n# Support\n\n* https://github.com/bitpay/bitpay-php-keyutils/issues\n* https://support.bitpay.com\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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fbitpay-php-keyutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitpay%2Fbitpay-php-keyutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitpay%2Fbitpay-php-keyutils/lists"}