PHPackages                             ishidad2/symbol-node-selector - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ishidad2/symbol-node-selector

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ishidad2/symbol-node-selector
=============================

Symbol active node selection

v1.0.6(1y ago)07MITPHP

Since Feb 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ishidad2/symbol-node-selector)[ Packagist](https://packagist.org/packages/ishidad2/symbol-node-selector)[ RSS](/packages/ishidad2-symbol-node-selector/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Symbol Node Selector
====================

[](#symbol-node-selector)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

概要
--

[](#概要)

Symbol Node Selector は、Symbol の **アクティブなノードを選択して返す** PHP ライブラリです。

テストネット・メインネットのノードリストを管理し、負荷分散や障害時のフェールオーバーを容易にします。

インストール
------

[](#インストール)

Composer を使用してインストールできます。

```
composer require ishidad2/symbol-node-selector
```

Laravel で使用する場合は、設定ファイルを公開してください。

```
php artisan vendor:publish --tag=config
```

設定
--

[](#設定)

`config/symbolnodeselector.php` にテストネット・メインネットのノードリストが定義されています。

```
return [
    'testnet_symbol_nodes' => [
        'https://sym-test-01.opening-line.jp:3001',
        'https://sym-test-03.opening-line.jp:3001',
        'https://001-sai-dual.symboltest.net:3001',
    ],
    'mainnet_symbol_nodes' => [
        'https://yukikaze.symbol-nem.net:3001',
        'https://symbol-main-1.nemtus.com:3001',
        'https://xym1.kyoto-japan.cloud:3001',
    ],
];
```

使い方
---

[](#使い方)

アクティブなノードを取得する例:

```
use Ishidad2\SymbolNodeSelector\SymbolNodeSelector;

$selector = new SymbolNodeSelector();

echo "Mainnet Node: " . $selector->getActiveMainnetNode();
echo "Testnet Node: " . $selector->getActiveTestnetNode();
```

テスト
---

[](#テスト)

PHPUnit を使用してテストを実行できます。

```
vendor/bin/phpunit --testdox
```

ライセンス
-----

[](#ライセンス)

このライブラリは [MIT License](https://opensource.org/licenses/MIT) のもとで公開されています。

貢献
--

[](#貢献)

バグ報告や機能追加の提案は GitHub の Issue にてお願いします。

```
git clone https://github.com/ishidad2/symbol-node-selector.git
cd symbol-node-selector
composer install
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance43

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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 ~0 days

Total

5

Last Release

457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3362066f87979de9d23e32cb729f52c65f974a708682a119f1debc5c9e4ff1a7?d=identicon)[ishidad2](/maintainers/ishidad2)

---

Tags

phpsymbolblockchain

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ishidad2-symbol-node-selector/health.svg)

```
[![Health](https://phpackages.com/badges/ishidad2-symbol-node-selector/health.svg)](https://phpackages.com/packages/ishidad2-symbol-node-selector)
```

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)[amirbagh75/smsir-php

Unofficial sms.ir PHP Package

181.2k](/packages/amirbagh75-smsir-php)

PHPackages © 2026

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