PHPackages                             binarycabin/nano-units - 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. binarycabin/nano-units

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

binarycabin/nano-units
======================

A simple helper for converting units of Nano cryptocurrency

1.0(8y ago)074MITPHP

Since May 26Pushed 8y agoCompare

[ Source](https://github.com/binarycabin/nano-units)[ Packagist](https://packagist.org/packages/binarycabin/nano-units)[ RSS](/packages/binarycabin-nano-units/feed)WikiDiscussions master Synced 2w ago

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

Nano Unit Helper
================

[](#nano-unit-helper)

A simple helper for converting units of Nano cryptocurrency

Install
-------

[](#install)

```
composer require binarycabin/nano-units

```

Usage
-----

[](#usage)

```
\NanoUnits::convert($unitFrom,$unitTo,$value)

```

for example

```
\NanoUnits::convert('Mnano','knano',99)
// Returns "99000"

```

Laravel
-------

[](#laravel)

The package makes a NanoUnits facade, so you can simply do

```
\NanoUnits::convert($unitFrom,$unitTo,$value)

```

Units Available
---------------

[](#units-available)

- Gnano
- ticker
- Mnano
- knano
- nano
- mnano
- unano
- raw

Note, the NANO ticker value is represented by "Mnano", which can sometimes cause confusion with the "nano" unit. You can use the "ticker" unit as an alias for "Mnano" to help make it easier for debugging

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3003d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33656106?v=4)[Binary Cabin](/maintainers/binarycabin)[@binarycabin](https://github.com/binarycabin)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/binarycabin-nano-units/health.svg)

```
[![Health](https://phpackages.com/badges/binarycabin-nano-units/health.svg)](https://phpackages.com/packages/binarycabin-nano-units)
```

###  Alternatives

[paragonie/random-lib

A Library For Generating Secure Random Numbers

743.7M28](/packages/paragonie-random-lib)[atomescrochus/laravel-string-similarities

Compare two string and get a similarity percentage

69188.0k2](/packages/atomescrochus-laravel-string-similarities)

PHPackages © 2026

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