gubler/uuid-encoder
Composer 安装命令:
composer require gubler/uuid-encoder
包简介
Tool for encoding ramsey/uuid into shorter strings
关键字:
README 文档
README
This library is used to encode UUIDs created by ramsey/uuid into shorter strings. You are able to define the set of characters used in the encoded string.
Installation
The preferred method of installation is via Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:
composer require gubler/uuid-encoder
Use
<?php use Ramsey\Uuid\Uuid; use Gubler\UuidEncoder\UuidEncoder; $uuid = Uuid::uuid4(); $encoder = new UuidEncoder(UuidEncoder::DEFAULT_CHARSET); $encodedString = $encoder->encode($uuid);
Contributing
Contributions are welcome! Please read CONTRIBUTING for details.
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.
Copyright and License
The gubler/uuid-encoder library is copyright © Daryl Gubler and licensed for use under the MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 80
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-14