PHPackages                             aleksandrzhiliaev/yii2-altcoind - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. aleksandrzhiliaev/yii2-altcoind

AbandonedArchivedYii2-module[HTTP &amp; Networking](/categories/http)

aleksandrzhiliaev/yii2-altcoind
===============================

Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

0.0.3.13(8y ago)1266910[1 issues](https://github.com/aleksandrzhiliaev/yii2-altcoind/issues)[1 PRs](https://github.com/aleksandrzhiliaev/yii2-altcoind/pulls)MITPHP

Since Jul 29Pushed 8y agoCompare

[ Source](https://github.com/aleksandrzhiliaev/yii2-altcoind)[ Packagist](https://packagist.org/packages/aleksandrzhiliaev/yii2-altcoind)[ RSS](/packages/aleksandrzhiliaev-yii2-altcoind/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (5)Versions (21)Used By (0)

yii2-altcoind
=============

[](#yii2-altcoind)

[![Total Downloads](https://camo.githubusercontent.com/e4b31df348ba0a9a1e0d283e3e3a4ae1ffaf5222f05f6fdc235eb740aaaec3d5/68747470733a2f2f706f7365722e707567782e6f72672f616c656b73616e64727a68696c696165762f796969322d616c74636f696e642f646f776e6c6f616473)](https://packagist.org/packages/aleksandrzhiliaev/yii2-altcoind)[![Codacy Badge](https://camo.githubusercontent.com/d3aa4b6ef37fedc83591cc02f0bbd0fcfd27789c61b3ae000f34792f10318b1a/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3838316563373365323836343439623161343139646232343335313061363438)](https://www.codacy.com/app/sassoftinc/yii2-altcoind?utm_source=github.com&utm_medium=referral&utm_content=aleksandrzhiliaev/yii2-altcoind&utm_campaign=Badge_Grade)

Yii2 Alticoind module+extension. Supports connection between yii2 and coin daemons (Bitcoind, Litecoind etc..)

You can use only altcoind components in your application to make calls to your bitcoind,litecoind,geth,monero servers or also use module which provides you web interface (show balance, make new transfer, show generated addresses, generate new address, show private keys of your addresses).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist aleksandrzhiliaev/yii2-altcoind

```

or add

```
"aleksandrzhiliaev/yii2-altcoind": "*"

```

to the require section of your `composer.json` file.

Basic Usage
-----------

[](#basic-usage)

After installation you need to define your altcoind components in your yii container:

```
...
'components' => [
        'bitcoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'rpc_username',
            'password' => 'rpc_password',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'litecoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'rpc_username',
            'password' => 'rpc_password',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'ethereum' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Ethereum',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'monero' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Monero',
            'host' => 'rpc_host',
            'port' => 'rpc_port',
        ],
        'ripple' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Ripple',
            'urlNode' => 'url',
            'address' => 'xrp_address',
            'secret' => 'xrp_secret',
        ],
        'zcash' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Altcoin',
            'username' => 'zec_account',
            'password' => 'zec_password',
            'host' => 'zec_host',
            'port' => 'zec_port',
        ],
        'bytecoin' => [
            'class' => 'aleksandrzhiliaev\altcoind\components\Bytecoin',
            'host' => 'bcn_host',
        ],

        ...
]
...
```

You can install other clients which provide you RPC interface.

Now you can make transfers, generate new addresses and do other stuff like this:

```
$txid = Yii::$app->bitcoin->send('address', 0.0001);

$address = Yii::$app->bitcoin->generateAddress('account_name');

$walletInfo = Yii::$app->bitcoin->getInfo();

$generatedAddresses = Yii::$app->bitcoin->showAddresses('account_name');
```

If something goes wrong these methods will throw standard `ErrorException`.

To use web interface you need to add module in `modules` section:

```
'modules' => [
        ...
        'altcoind' => [
            'class' => 'aleksandrzhiliaev\altcoind\Module',
            'layout' => '@app/views/layouts/admin',
            'allowedUsers' => ['admin'],
            'wallets' => ['bitcoin', 'litecoin', 'ethereum', 'monero', 'ripple', 'zcash'],
            'mainPageCache' => 60 * 1,
        ],
        ...
]
...
```

You need to define user logins, who have rights to view that pages. Also you need to add a list of wallets which will be used in web interface.

Currencies support
------------------

[](#currencies-support)

Currently this module supports:

- Bitcoin
- Litecoin
- Monero
- Ethereum
- Ripple
- Zcash
- Bytecoin

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~14 days

Recently: every ~42 days

Total

20

Last Release

2930d ago

### Community

Maintainers

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

---

Top Contributors

[![aleksandrzhiliaev](https://avatars.githubusercontent.com/u/12209346?v=4)](https://github.com/aleksandrzhiliaev "aleksandrzhiliaev (34 commits)")[![yakovlev-vladimir](https://avatars.githubusercontent.com/u/689802?v=4)](https://github.com/yakovlev-vladimir "yakovlev-vladimir (1 commits)")

---

Tags

bitcoindcoin-daemonethereumlitecoindmoneroyii2yii2-altcoindzcashyii2bitcoinlitecoinyii2-bitcoin

### Embed Badge

![Health badge](/badges/aleksandrzhiliaev-yii2-altcoind/health.svg)

```
[![Health](https://phpackages.com/badges/aleksandrzhiliaev-yii2-altcoind/health.svg)](https://phpackages.com/packages/aleksandrzhiliaev-yii2-altcoind)
```

###  Alternatives

[linslin/yii2-curl

Easy and nice cURL extension with RESTful support for Yii2

1811.5M20](/packages/linslin-yii2-curl)[zhuravljov/yii2-rest

Yii2 REST Client

1186.2k](/packages/zhuravljov-yii2-rest)[tunecino/yii2-nested-rest

Adds nested resources routing support along with related actions and relationship handlers to the Yii RESTful API framework

4815.8k](/packages/tunecino-yii2-nested-rest)

PHPackages © 2026

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