shoperti/cuid
最新稳定版本:v1.0.0
Composer 安装命令:
composer require shoperti/cuid
包简介
Collision-resistant ids optimized for horizontal scaling and performance.
关键字:
README 文档
README
This is a port from https://github.com/ericelliott/cuid to PHP. Please refer to the original repo for more information.
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require shoperti/cuid.
"require": { "shoperti/cuid": "~1.0" }
Next, update Composer from the Terminal:
composer update
Examples
// Create a new cuid $cuid = new Shoperti\Cuid\Cuid::cuid(); // Create a new cuid slug $cuid = new Shoperti\Cuid\Cuid::slug();
统计信息
- 总下载量: 3.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-05