定制 qlimix/uuid 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

qlimix/uuid

Composer 安装命令:

composer require qlimix/uuid

包简介

Uuid value objects

关键字:

README 文档

README

Travis CI Coveralls Packagist MIT License

A Uuid value object and an interface to generate an uuid.

Install

Using Composer:

$ composer require qlimix/uuid

usage

<?php

use Qlimix\Id\Uuid\Uuid;

$uuid = new Uuid('ecf72764-f657-4ae9-9183-135b72bbad32');
$uuid2 = new Uuid('ecf72764-f657-4ae9-9183-135b72bbad32');

$bytes = $uuid->getBytes();
$string = $uuid->toString();

$uuid = Uuid::fromBytes($bytes);

if ($uuid->equals($uuid2)) {
    // the same
}

Testing

To run all unit tests locally with PHPUnit:

$ vendor/bin/phpunit

Quality

To ensure code quality run grumphp which will run all tools:

$ vendor/bin/grumphp run

Contributing

Please see CONTRIBUTING for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固