php tools
github.com/gaotiefeng/tool
Source
Issues
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
Suggests
None
Provides
Conflicts
Replaces
MIT 8981aa7e76faa049df579c5cb1460c1fc791e2b8
This package is auto-updated.
Last update: 2024-04-22 11:09:26 UTC
composer require gaotiefeng/tool
$snowflake = new Snowflake(); $snowflake = new Snowflake(12345,67891);//工作机器id $snowflake->setStartTimeStamp(strtotime('2020-09-09')*1000); $id = $snowflake->id();