brilliantpackages/filemaker-uuid
Composer 安装命令:
composer require brilliantpackages/filemaker-uuid
包简介
A package to generate a FileMaker-compatible numeric UUID.
README 文档
README
A package to generate a FileMaker-compatible numeric UUID.
Compatibility
| PHP | Package Version |
|---|---|
| >=8.0 | 2.x |
| 7.x | 1.x |
Usage
use BrilliantPackages\FileMakerUuid\Uuid; $uuid = Uuid::numeric()->toString(); // Results in something like 12063716518403015373000001000000000000000.
Format
A 41-digit delimited number of the form:
vrmmmmmmmmmmmmTssssssscccccnnnnnnnnnnnnnnn- With version 1 and 2 UUIDs, the sections of the UUID correspond to:
v: The UUID version (type) number: 1r: A variant code reserved by the RFC 4122 standard: 2m: The creation timestamp (seconds since 0001-01-01T00:00:00), or as close as we can get with PHP/Unix Epochs: PHP microsecondsc: Random bits ("session key" in FM)n: IP Address as a long ("Device ID" in FM)
统计信息
- 总下载量: 735
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-19