fwolf/base-converter

Convert number (string format) between base 2 and 62

v1.0 2016-09-30 09:41 UTC

This package is auto-updated.

Last update: 2024-11-10 04:01:52 UTC


README

Travis Latest Stable Version License SensioLabsInsight Scrutinizer Code Quality

Convert number (string format) between base 2 and 62.

Install

composer require fwolf/base-converter:~1.0

Usage

use Fwolf\Util\BaseConverter\BaseConverter;

$converter = BaseConverter::getInstance();

echo $converter->convert('zipper', 62, 10);
// Result: 32336678363

License

Distribute under MIT License.