tinyID:缩短和混淆ID 源码
缩短和混淆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
文件列表
tinyID-master.zip
(预估有个9文件)
tinyID-master
composer.json
671B
.travis.yml
249B
phpunit.xml
629B
example
example.php
770B
tests
Unit
TinyIDTest.php
5KB
LICENSE
1KB
暂无评论