Arbitrary Base Conversion Library

v0.1.3 2020-02-23 17:42 UTC

This package is auto-updated.

Last update: 2020-09-23 18:58:03 UTC


A fork of brick/math, extracting & refactoring the base conversion portion.

Build Status Coverage Status Total Downloads License


This library is installable via Composer:

composer require signpostmarv/brick-math-base-convert


This library requires PHP 7.4 or later.

For older version, please use the original package.

Although the library can work seamlessly on any PHP installation, implementations for ext-bcmath and ext-gmp are available.

Project status & release process

While this library is still under development, it is well tested and should be stable enough to use in production environments.

The current releases are numbered 0.x.y. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), y is incremented.

When a breaking change is introduced, a new 0.x version cycle is always started.

It is therefore safe to lock your project to a given release cycle, such as 0.8.*.

If you need to upgrade to a newer release cycle, check the release history for a list of changes introduced by each further 0.x.0 version.