This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Arbitrary Base Conversion Library

v0.1.2 2020-02-23 18:04 UTC

This package is auto-updated.

Last update: 2021-05-23 21:15:51 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-bcmath


This library requires PHP 7.4 or later, and for the bcmath extension to be installed.

For other options, see:

For older versions of PHP, please use the original package.

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.