PHPackages                             bocharsky-bw/numeral-system-converter - 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. bocharsky-bw/numeral-system-converter

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

bocharsky-bw/numeral-system-converter
=====================================

Convert numbers to different numeral systems.

v1.0.0(12y ago)05MITPHPPHP &gt;=5.3.0

Since Jan 26Pushed 12y ago1 watchersCompare

[ Source](https://github.com/bocharsky-bw/numeral-system-converter)[ Packagist](https://packagist.org/packages/bocharsky-bw/numeral-system-converter)[ Docs](https://github.com/bocharsky-bw/numeral-system-converter)[ RSS](/packages/bocharsky-bw-numeral-system-converter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

numeral-system-converter
========================

[](#numeral-system-converter)

Convert numbers to different numeral systems.

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

[](#installation)

1. Use `require_once` for include converter to your code. Add next code before using converter

```
require_once /path-to-numeral-system-converter/src/Converter.php';
use BW\NumeralSystem\Converter;
```

2. Or use `composer` to install. Add next code to `composer.json` file

require: `"bocharsky-bw/numeral-system-converter": "dev-master"`

Using
-----

[](#using)

```
echo '';

print Converter::fromDec(9, Converter::MIN_RADIX) ."\n";
print Converter::toDec('1001', Converter::MIN_RADIX) ."\n";
print "\n";

print Converter::fromDec(11, 16) ."\n";
print Converter::toDec('B', 16) ."\n";
print "\n";

print Converter::fromDec(94276256, Converter::MAX_RADIX) ."\n";
print Converter::toDec('2!w54', Converter::MAX_RADIX) ."\n";
print "\n";

echo '';
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce9dde2c8d3d5fcfdbb5427f981df17123b54b410e21e4dfc933f07983eefeba?d=identicon)[bocharsky-bw](/maintainers/bocharsky-bw)

---

Top Contributors

[![bocharsky-bw](https://avatars.githubusercontent.com/u/3317635?v=4)](https://github.com/bocharsky-bw "bocharsky-bw (3 commits)")

---

Tags

converterdecimalbinaryhexadecimaloctalradixnumeral-system

### Embed Badge

![Health badge](/badges/bocharsky-bw-numeral-system-converter/health.svg)

```
[![Health](https://phpackages.com/badges/bocharsky-bw-numeral-system-converter/health.svg)](https://phpackages.com/packages/bocharsky-bw-numeral-system-converter)
```

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[mark-gerarts/auto-mapper-plus

An AutoMapper for PHP

5623.2M21](/packages/mark-gerarts-auto-mapper-plus)[alchemy/binary-driver

A set of tools to build binary drivers

19110.9M39](/packages/alchemy-binary-driver)[matthiasmullie/path-converter

Relative path converter

10229.6M7](/packages/matthiasmullie-path-converter)[ncjoes/office-converter

PHP Wrapper for LibreOffice

2431.2M4](/packages/ncjoes-office-converter)[ademarre/binary-to-text-php

Collection of binary-to-text encoding utilities for PHP. Includes Base32 support and much more.

40165.8k](/packages/ademarre-binary-to-text-php)

PHPackages © 2026

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