PHP IdGen is an PHP implementation of twitter Snowflake concept.