Install Base62 via Composer
2.xInstall the library using Composer. The current branch requires PHP 7.1 or higher. For older environments (PHP 5.6 or 7.0), you must specify the 1.x branch.
# For PHP 7.1+
$ composer require tuupola/base62
# For PHP 5.6 or 7.0
$ composer require "tuupola/base62:^1.0"