PHPackages                             vittominacori/changelly-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vittominacori/changelly-php

ActiveLibrary[API Development](/categories/api)

vittominacori/changelly-php
===========================

A PHP wrapper for Changelly API

v1.1(6y ago)61295MITPHPPHP &gt;=7.0.0

Since May 23Pushed 6y ago2 watchersCompare

[ Source](https://github.com/vittominacori/changelly-php)[ Packagist](https://packagist.org/packages/vittominacori/changelly-php)[ Docs](https://github.com/vittominacori/changelly-php)[ RSS](/packages/vittominacori-changelly-php/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Changelly for PHP
=================

[](#changelly-for-php)

A PHP wrapper for [Changelly](https://api-docs.changelly.com/) APIs

Install
-------

[](#install)

```
composer require vittominacori/changelly-php

```

Generate Api Key and Secret
---------------------------

[](#generate-api-key-and-secret)

Generate Key and Secret [here](https://changelly.com/developers#keys).

Usage
-----

[](#usage)

### Prepare requirements

[](#prepare-requirements)

```
require __DIR__ . '/vendor/autoload.php';

use Changelly\Changelly;
```

### Create client

[](#create-client)

```
$changelly = new Changelly('yourApiKey', 'yourApiSecret');
```

### Call APIs

[](#call-apis)

#### getCurrencies

[](#getcurrencies)

Description:

- Returns a list of enabled currencies as a flat array.

```
$changelly->getCurrencies();
```

result:

```
[
  "btc",
  "eth",
  "etc",
  "exp",
  "xem",
  "lsk",
  "xmr",
  "strat",
  "rep",
  "lbc",
  "maid",
  "ltc",
  "bcn",
  "xrp",
  "doge",
  "amp",
  "nxt",
  "dash",
  "xdn",
  "nbt",
  "nav",
  "pot",
  "gnt",
  "waves",
  "usdt",
  "swt",
  "mln",
  "pivx",
  "trst",
  "edg",
  "rlc",
  "gno",
  "dcr",
  "gup",
  "lun",
  "str",
  "bat",
  "ant",
  "bnt",
  "cvc",
  "eos",
  "pay",
  "bch",
  "omg",
  "mco",
  "adx",
  "zrx",
  "qtum",
  "ptoy",
  "storj",
  "cfi",
  "hmq",
  "nmr",
  "salt",
  "btg",
  "dgb",
  "dnt",
  "vib",
  "rcn",
  "zcl",
  "stx",
  "kmd",
  "brd",
  "dcn",
  "ngc",
  "xmo",
  "noah",
  "zen"
]
```

#### getCurrenciesFull

[](#getcurrenciesfull)

Description:

- Returns a full list of currencies as an array of objects. Each object has an "enabled" field displaying current availability of a coin.

```
$changelly->getCurrenciesFull();
```

result:

```
[
  {
    "name": "btc",
    "fullName": "Bitcoin",
    "enabled": true,
    "image": "https://changelly.com/coins/btc.svg"
  },
  {
    "name": "eth",
    "fullName": "Ethereum",
    "enabled": true,
    "image": "https://changelly.com/coins/eth.svg"
  },
  {
    "name": "etc",
    "fullName": "Ethereum Classic",
    "enabled": true,
    "image": "https://changelly.com/coins/etc.svg"
  },
  (...)
  {
    "name": "zen",
    "fullName": "Zencash",
    "enabled": true,
    "image": "https://changelly.com/coins/zen.svg"
  }
]
```

#### getMinAmount

[](#getminamount)

Description:

- Returns a minimum allowed payin amount required for a currency pair. Amounts less than a minimal will most likely fail the transaction.

```
$changelly->getMinAmount('btc', 'eth');
```

result:

```
"0.00150457"
```

#### getExchangeAmount

[](#getexchangeamount)

Description:

- Returns estimated exchange value with your API partner fee included.

```
$changelly->getExchangeAmount('btc', 'eth', '1');
```

result:

```
"12.10716"
```

#### createTransaction

[](#createtransaction)

Description:

- Creates a new transaction, generates a pay-in address and returns Transaction object with an ID field to track a transaction status.

```
$changelly->createTransaction('btc', 'eth', '0x123123...123', 0.3);
```

result:

```
{
  "id": "854e8d7dc9ef",
  "apiExtraFee": "0",
  "changellyFee": "0.5",
  "payinExtraId": null,
  "status": "new",
  "currencyFrom": "btc",
  "currencyTo": "eth",
  "amountTo": 0,
  "payinAddress": "36P9TNYPbZrGs8Udn84F9uAY95VYM2Xk4K",
  "payoutAddress": "0x123123...123",
  "createdAt": "2018-05-04T15:15:02.000Z"
}
```

#### getStatus

[](#getstatus)

Description:

- Returns status of a given transaction using a transaction ID provided.

```
$changelly->getStatus('854e8d7dc9ef');
```

result:

```
"waiting"
```

#### getTransactions

[](#gettransactions)

Description:

- Returns an array of all transactions or a filtered list of transactions.

```
$changelly->getTransactions();
```

result:

```
[
  {
    "id": "854e8d7dc9ef",
    "createdAt": 1525446902,
    "payinConfirmations": "0",
    "status": "waiting",
    "currencyFrom": "btc",
    "currencyTo": "eth",
    "payinAddress": "36P9TNYPbZrGs8Udn84F9uAY95VYM2Xk4K",
    "payinExtraId": null,
    "payinHash": null,
    "payoutAddress": "0x123123...123",
    "payoutExtraId": null,
    "payoutHash": null,
    "amountFrom": "",
    "amountTo": "0",
    "networkFee": null,
    "changellyFee": "0.5",
    "apiExtraFee": "0"
  },
  (...)
]
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~705 days

Total

2

Last Release

2205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe45c007b95c82c28ab02b581ad052d19122547e89c215e84990e7a835a45816?d=identicon)[vittominacori](/maintainers/vittominacori)

---

Top Contributors

[![mattsmithies](https://avatars.githubusercontent.com/u/6974163?v=4)](https://github.com/mattsmithies "mattsmithies (1 commits)")[![vittominacori](https://avatars.githubusercontent.com/u/8151143?v=4)](https://github.com/vittominacori "vittominacori (1 commits)")

---

Tags

changellycryptoexchangephpclientcryptoexchangechangelly

### Embed Badge

![Health badge](/badges/vittominacori-changelly-php/health.svg)

```
[![Health](https://phpackages.com/badges/vittominacori-changelly-php/health.svg)](https://phpackages.com/packages/vittominacori-changelly-php)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[vittominacori/coinmarketcap-php

A PHP wrapper for CoinMarketCap API

2233.1k](/packages/vittominacori-coinmarketcap-php)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
