缩短和混淆ID 概要 use TinyID \ TinyID ; include __DIR__ . '/../vendor/autoload.php' ; // dictionary must consist of at least two UNIQUE unicode characters. $ tinyId = new TinyID ( '2BjLhRduC6Tb8Q5cEk9oxnFaWUDpOlGAgwYzNre7tI4yqPvXm0KSV1fJs3ZiHM' ); var_dump ( $ tinyId -> encode ( '48888851145' )); // will print 1FN7Ab var_dump ( $ tinyId -> decode ( '1FN7Ab' )); // w