{"id":18011763,"url":"https://github.com/vittominacori/changelly-php","last_synced_at":"2026-03-10T14:02:18.184Z","repository":{"id":62544717,"uuid":"134609824","full_name":"vittominacori/changelly-php","owner":"vittominacori","description":"A PHP wrapper for Changelly APIs","archived":false,"fork":false,"pushed_at":"2020-04-28T15:21:10.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-24T07:02:31.160Z","etag":null,"topics":["changelly","crypto","exchange","php"],"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/vittominacori.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}},"created_at":"2018-05-23T18:23:41.000Z","updated_at":"2025-08-07T03:05:22.000Z","dependencies_parsed_at":"2022-11-02T22:00:55.923Z","dependency_job_id":null,"html_url":"https://github.com/vittominacori/changelly-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vittominacori/changelly-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vittominacori%2Fchangelly-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vittominacori%2Fchangelly-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vittominacori%2Fchangelly-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vittominacori%2Fchangelly-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vittominacori","download_url":"https://codeload.github.com/vittominacori/changelly-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vittominacori%2Fchangelly-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30336065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["changelly","crypto","exchange","php"],"created_at":"2024-10-30T03:12:44.821Z","updated_at":"2026-03-10T14:02:18.136Z","avatar_url":"https://github.com/vittominacori.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Changelly for PHP\n\nA PHP wrapper for [Changelly](https://api-docs.changelly.com/) APIs\n\n## Install\n\n```\ncomposer require vittominacori/changelly-php\n```\n\n## Generate Api Key and Secret\n\nGenerate Key and Secret [here](https://changelly.com/developers#keys).\n\n\n## Usage\n\n### Prepare requirements\n\n```php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse Changelly\\Changelly;\n```\n\n### Create client\n\n```php\n$changelly = new Changelly('yourApiKey', 'yourApiSecret');\n```\n\n### Call APIs\n\n\n#### getCurrencies\n\nDescription:\n+ Returns a list of enabled currencies as a flat array.\n\n```php\n$changelly-\u003egetCurrencies();\n```\n\nresult: \n\n```json\n[\n  \"btc\",\n  \"eth\",\n  \"etc\",\n  \"exp\",\n  \"xem\",\n  \"lsk\",\n  \"xmr\",\n  \"strat\",\n  \"rep\",\n  \"lbc\",\n  \"maid\",\n  \"ltc\",\n  \"bcn\",\n  \"xrp\",\n  \"doge\",\n  \"amp\",\n  \"nxt\",\n  \"dash\",\n  \"xdn\",\n  \"nbt\",\n  \"nav\",\n  \"pot\",\n  \"gnt\",\n  \"waves\",\n  \"usdt\",\n  \"swt\",\n  \"mln\",\n  \"pivx\",\n  \"trst\",\n  \"edg\",\n  \"rlc\",\n  \"gno\",\n  \"dcr\",\n  \"gup\",\n  \"lun\",\n  \"str\",\n  \"bat\",\n  \"ant\",\n  \"bnt\",\n  \"cvc\",\n  \"eos\",\n  \"pay\",\n  \"bch\",\n  \"omg\",\n  \"mco\",\n  \"adx\",\n  \"zrx\",\n  \"qtum\",\n  \"ptoy\",\n  \"storj\",\n  \"cfi\",\n  \"hmq\",\n  \"nmr\",\n  \"salt\",\n  \"btg\",\n  \"dgb\",\n  \"dnt\",\n  \"vib\",\n  \"rcn\",\n  \"zcl\",\n  \"stx\",\n  \"kmd\",\n  \"brd\",\n  \"dcn\",\n  \"ngc\",\n  \"xmo\",\n  \"noah\",\n  \"zen\"\n]\n```\n\n\n#### getCurrenciesFull\n\nDescription:\n+ Returns a full list of currencies as an array of objects. Each object has an \"enabled\" field displaying current availability of a coin.\n\n```php\n$changelly-\u003egetCurrenciesFull();\n```\n\nresult: \n\n```json\n[\n  {\n    \"name\": \"btc\",\n    \"fullName\": \"Bitcoin\",\n    \"enabled\": true,\n    \"image\": \"https://changelly.com/coins/btc.svg\"\n  },\n  {\n    \"name\": \"eth\",\n    \"fullName\": \"Ethereum\",\n    \"enabled\": true,\n    \"image\": \"https://changelly.com/coins/eth.svg\"\n  },\n  {\n    \"name\": \"etc\",\n    \"fullName\": \"Ethereum Classic\",\n    \"enabled\": true,\n    \"image\": \"https://changelly.com/coins/etc.svg\"\n  },\n  (...)\n  {\n    \"name\": \"zen\",\n    \"fullName\": \"Zencash\",\n    \"enabled\": true,\n    \"image\": \"https://changelly.com/coins/zen.svg\"\n  }\n]\n```\n\n\n#### getMinAmount\n\nDescription:\n+ Returns a minimum allowed payin amount required for a currency pair. Amounts less than a minimal will most likely fail the transaction.\n\n```php\n$changelly-\u003egetMinAmount('btc', 'eth');\n```\n\nresult: \n\n```json\n\"0.00150457\"\n```\n\n\n#### getExchangeAmount\n\nDescription:\n+ Returns estimated exchange value with your API partner fee included.\n\n```php\n$changelly-\u003egetExchangeAmount('btc', 'eth', '1');\n```\n\nresult: \n\n```json\n\"12.10716\"\n```\n\n\n#### createTransaction\n\nDescription:\n+ Creates a new transaction, generates a pay-in address and returns Transaction object with an ID field to track a transaction status.\n\n```php\n$changelly-\u003ecreateTransaction('btc', 'eth', '0x123123...123', 0.3);\n```\n\nresult: \n\n```json\n{\n  \"id\": \"854e8d7dc9ef\",\n  \"apiExtraFee\": \"0\",\n  \"changellyFee\": \"0.5\",\n  \"payinExtraId\": null,\n  \"status\": \"new\",\n  \"currencyFrom\": \"btc\",\n  \"currencyTo\": \"eth\",\n  \"amountTo\": 0,\n  \"payinAddress\": \"36P9TNYPbZrGs8Udn84F9uAY95VYM2Xk4K\",\n  \"payoutAddress\": \"0x123123...123\",\n  \"createdAt\": \"2018-05-04T15:15:02.000Z\"\n}\n```\n\n\n#### getStatus\n\nDescription:\n+ Returns status of a given transaction using a transaction ID provided.\n\n```php\n$changelly-\u003egetStatus('854e8d7dc9ef');\n```\n\nresult: \n\n```json\n\"waiting\"\n```\n\n\n#### getTransactions\n\nDescription:\n+ Returns an array of all transactions or a filtered list of transactions.\n\n```php\n$changelly-\u003egetTransactions();\n```\n\nresult: \n\n```json\n[\n  {\n    \"id\": \"854e8d7dc9ef\",\n    \"createdAt\": 1525446902,\n    \"payinConfirmations\": \"0\",\n    \"status\": \"waiting\",\n    \"currencyFrom\": \"btc\",\n    \"currencyTo\": \"eth\",\n    \"payinAddress\": \"36P9TNYPbZrGs8Udn84F9uAY95VYM2Xk4K\",\n    \"payinExtraId\": null,\n    \"payinHash\": null,\n    \"payoutAddress\": \"0x123123...123\",\n    \"payoutExtraId\": null,\n    \"payoutHash\": null,\n    \"amountFrom\": \"\",\n    \"amountTo\": \"0\",\n    \"networkFee\": null,\n    \"changellyFee\": \"0.5\",\n    \"apiExtraFee\": \"0\"\n  },\n  (...)\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvittominacori%2Fchangelly-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvittominacori%2Fchangelly-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvittominacori%2Fchangelly-php/lists"}