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 2d 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 52% 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

2958d 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

[dasprid/enum

PHP 7.1 enum implementation

382165.7M12](/packages/dasprid-enum)

PHPackages © 2026

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