Skip to content

hifuck/IDWork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

php_IDWork

PHP实现的twitter-snowflake算法

用法

require 'IDWork.php';

$workid = 1; // 机器标识
$IDWor = new IDWork($workid);
$IDWork -> nextId();

About

PHP实现twitter-snowflake算法

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%