PHPackages                             mikerow/nanophp - 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. mikerow/nanophp

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

mikerow/nanophp
===============

PHP libraries and tools for Nano currency

v1.0.2(5y ago)4953MITPHP

Since Oct 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MikeRow/NanoPHP)[ Packagist](https://packagist.org/packages/mikerow/nanophp)[ Docs](https://github.com/MikeRow/NanoPHP)[ Fund](https://nanocrawler.cc/explorer/account/nano_1mikerow9bqzyqo4ejra6ugr1srerq1egwmacerquch3dz1wry7mkrz4768m)[ RSS](/packages/mikerow-nanophp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

NanoPHP
=======

[](#nanophp)

PHP libraries and tools for Nano currency

Examples at [NanoPHP/test](https://github.com/MikeRow/NanoPHP/tree/master/test)

---

Install
-------

[](#install)

```
composer require mikerow/nanophp
```

---

Features
--------

[](#features)

- [NanoBlock](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoBlock.php)

    class for building Nano blocks
- [NanoCLI](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoCLI.php)

    class for interfacing to Nano node CLI
- [NanoIPC](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoIPC.php)

    class for interfacing to Nano node IPC
- [NanoRPC](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoRPC.php)

    class for interfacing to Nano node RPC
- [NanoRPCExt](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoRPCExt.php)

    additional functions for NanoRPC
- [NanoTool](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoTool.php)

    class for node-independent Nano functions
- [NanoWS](https://github.com/MikeRow/NanoPHP/blob/master/src/NanoWS.php)

    class for interfacing to Nano node WebSocket

---

FAQ
---

[](#faq)

#### How to perform calculations with Nano denominations or raws?

[](#how-to-perform-calculations-with-nano-denominations-or-raws)

PHP faces troubles when dealing with Nano amounts ...- Data type `float` isn't precise at certain decimal depths
- Data type `integer` size is limited to 64 bit

A good solution is to perform calculations in raws using [GNU Multiple Precision](https://www.php.net/manual/en/book.gmp.php)

#### Why not use libsodium instead of Salt or php-blake2?

[](#why-not-use-libsodium-instead-of-salt-or-php-blake2)

Some limitations prevent the use of libsodium ...- Functions `sodium_crypto_sign_*` use SHA-2 instead Blake2
- Functions `sodium_crypto_generichash_*` don't allow output smaller than 16 bytes

---

To do
-----

[](#to-do)

- Add Epoch v2 support to NanoBlock
- Add FlatBuffers support to NanoWS
- Increase FlatBuffers performances
- Enable listening on IPC

---

Credits
-------

[](#credits)

Thanks a lot for the work and effort of

- [strawbrary/php-blake2](https://github.com/strawbrary/php-blake2)
- [Textalk/websocket-php](https://github.com/Textalk/websocket-php)
- [google/flatbuffers](https://github.com/google/flatbuffers)
- [Bit-Wasp/bitcoin-lib-php](https://github.com/Bit-Wasp/bitcoin-lib-php)
- [aceat64/EasyBitcoin-PHP](https://github.com/aceat64/EasyBitcoin-PHP)
- [jaimehgb/RaiBlocksPHP](https://github.com/jaimehgb/RaiBlocksPHP)
- [Sergey Kroshnin](https://github.com/SergiySW)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

3

Last Release

2038d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47996463?v=4)[MikeRow](/maintainers/MikeRow)[@MikeRow](https://github.com/MikeRow)

---

Top Contributors

[![MikeRow](https://avatars.githubusercontent.com/u/47996463?v=4)](https://github.com/MikeRow "MikeRow (8 commits)")

---

Tags

blockscliipcnanophpraiblocksrpctoolswebsocketphpclirpcwebsockettoolsblocksipcnanoraiblocks

### Embed Badge

![Health badge](/badges/mikerow-nanophp/health.svg)

```
[![Health](https://phpackages.com/badges/mikerow-nanophp/health.svg)](https://phpackages.com/packages/mikerow-nanophp)
```

###  Alternatives

[basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4983.9k](/packages/basement-chat-basement-chat)[warriorxk/phpwebsockets

A websocket library with support for IPC using socket pairs

1225.3k](/packages/warriorxk-phpwebsockets)[hemiframe/php-websocket

PHP WebSocket server and client library

4911.0k](/packages/hemiframe-php-websocket)

PHPackages © 2026

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