dev-master
9999999-dev
MIT
The Development Requires
uuid simpleflake
Wallogit.com
2017 © Pedro Peláez
Distributed ID generation in PHP for the lazy. Based on the awesome python implementation from SawdustSoftware., (*2)
You can read an overview of what this does and why it came into being at the Sawdust Software Blog., (*3)
<?php require "simpleflake.php"; $newId = \simpleflake\generate(); echo "ID: $newId\n"; $parts = \simpleflake\parse($newId); echo "Timestamp: " . $parts["timestamp"] . "\n"; echo "RandomBits: " . $parts["randomBits"] . "\n";
MIT
uuid simpleflake