fwolf / base-converter
Convert number (string format) between base 2 and 62
v1.0
2016-09-30 09:41 UTC
Requires
- php: >=5.5.0
- ext-bcmath: *
- fwolf/singleton: ~1.0
Suggests
- ext-gmp: *
This package is auto-updated.
Last update: 2024-11-10 04:01:52 UTC
README
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.