alt-three/uuid
最新稳定版本:v1.0.0
Composer 安装命令:
composer require alt-three/uuid
包简介
A UUID To Integer Converter
关键字:
README 文档
README
A UUID to 64-bit signed integer converter.
UUIDs represent 128 bits of data, thus this is a lossy conversion, performed by xoring both halves of the UUID.
Installation
This version requires 64-bit PHP 7.1 or 7.2.
To get the latest version, simply require the project using Composer:
$ composer require alt-three/uuid
Usage
Say, you have a UUID to hand, and you'd like to convert it to an integer, then you're in luck!
AltThree\Uuid\UuidConverter::convert('2CD3F0DB-036E-41BA-84A6-72933F47F5FB'); // 4734454447164519848 AltThree\Uuid\UuidConverter::convert('{6167B53D-D8D2-42D3-8333-5BCA81A93A4C}'); // -6955673998131833630
It's easy as that! We are case insensitive, and support UUIDs with or without the surrounding braces.
Security
If you discover a security vulnerability within this package, please e-mail us at support@alt-three.com. All security vulnerabilities will be promptly addressed.
License
Alt Three Storage is licensed under The MIT License (MIT).
alt-three/uuid 适用场景与选型建议
alt-three/uuid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.94k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2018 年 03 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「uuid」 「Alt Three」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 alt-three/uuid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 alt-three/uuid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 alt-three/uuid 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Adds an alternative text field to Image assets, so that you don't need to use the image 'Title' field.
A Bugsnag Bridge For Laravel 5
StyleCI Config Is A Code Style Configuration Manager
DrUUID RFC 4122 library for PHP
StyleCI Login Is A GitHub Login Provider
A Statamic addon that automates the generation of image alt texts using AI, enhancing web accessibility and SEO with minimal effort.
统计信息
- 总下载量: 3.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 17
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-30