dexen/mulib 问题修复 & 功能扩展

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

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

dexen/mulib

Composer 安装命令:

composer require dexen/mulib

包简介

Micro utilities. UUID generators, debug, LZ4 decompression.

README 文档

README

Fast UUID v4 generator for PHP: 1MM in 0.7 second.

LZ4 decompressor in pure PHP, good for about 30MB/s. For sake of simplicity checksums are not verified.

Composer and PSR-4 friendly.

Installation

composer require dexen/mulib

Usage

Basic usage:

$uuid_v4 = \dexen\mulib\Uuid::generateUuidV4();
$uuid_v5 = \dexen\mulib\Uuid::generateUuidV5($namespace_uuid, $name);
$decompressed = \dexen\mulib\Lz4::decompress(file_get_contents('my-data.lz4'));

An lz4cat replacement is available for shell use:

lz4cat-php < my-data.lz4 > my-data

Consider defining a helper

function generate_uuid_v4() : string
{
	return \dexen\mulib\Uuid::generateUuidV4();
}

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固