jolicode/ffi-uuid 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jolicode/ffi-uuid

最新稳定版本:v1.0.1

Composer 安装命令:

composer require jolicode/ffi-uuid

包简介

Bind libuuid to PHP thanks to FFI

README 文档

README

This repository contains a binding of the libuuid library with PHP thanks to PHP/FFI. So this requires PHP 7.4 to run.

For now this is mostly a proof of concept to demonstrate the power of the FFI extension. In future, if and when the performance of FFI improves, it could be a good alternative to the PECL UUID package.

Further details can be found in the following blog post PHP 7.4 FFI: What you need to know .

Installation

composer require jolicode/ffi-uuid

Usage

use JoliCode\Uuid\UuidGenerator;

$generator = new UuidGenerator();

echo $generator->v1();
echo $generator->v3('something');
echo $generator->v4();
echo $generator->v5('something');

Resources

统计信息

  • 总下载量: 119.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 40
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 40
  • Watchers: 13
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-25