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-12-10 04:07:44 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.