igniphp/uuid
Composer 安装命令:
composer require igniphp/uuid
包简介
README 文档
README
Igni\Util\UuidGenerator
RFC-compliant Universally Unique Identifiers v5 generator.
Installation
composer require igniphp/uuid
API
generate(): string
Generates uuid.
generateShort(): string
Generates shorter representation of uuid (base58 encoded).
toShort(string $string): string
Shorts uuid by packing it into base58 representation.
fromShort(string $string): string
Returns full uuid as a string from base58 representation.
validate(string $string): bool
Validates if passed string is valid uuid number.
统计信息
- 总下载量: 173
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-13