2017 © Pedro Peláez
 

library uuid

A UUID To Integer Converter

image

alt-three/uuid

A UUID To Integer Converter

  • Friday, March 30, 2018
  • by joecohens
  • Repository
  • 3 Watchers
  • 11 Stars
  • 1,554 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 44 % Grown

The README.md

Alt Three UUID

A UUID to 64-bit signed integer converter., (*1)

UUIDs represent 128 bits of data, thus this is a lossy conversion, performed by xoring both halves of the UUID., (*2)

Installation

This version requires 64-bit PHP 7.1 or 7.2., (*3)

To get the latest version, simply require the project using Composer:, (*4)

$ composer require alt-three/uuid

Usage

Say, you have a UUID to hand, and you'd like to convert it to an integer, then you're in luck!, (*5)

AltThree\Uuid\UuidConverter::convert('2CD3F0DB-036E-41BA-84A6-72933F47F5FB'); // 4734454447164519848
AltThree\Uuid\UuidConverter::convert('{6167B53D-D8D2-42D3-8333-5BCA81A93A4C}'); // -6955673998131833630

It's easy as that! We are case insensitive, and support UUIDs with or without the surrounding braces., (*6)

Security

If you discover a security vulnerability within this package, please e-mail us at support@alt-three.com. All security vulnerabilities will be promptly addressed., (*7)

License

Alt Three Storage is licensed under The MIT License (MIT)., (*8)

The Versions

30/03 2018

dev-master

9999999-dev

A UUID To Integer Converter

  Sources   Download

MIT

The Requires

  • php-64bit ^7.1.3

 

The Development Requires

by Alt Three

uuid alt three

30/03 2018

dev-jbrooksuk-patch-1

dev-jbrooksuk-patch-1

A UUID To Integer Converter

  Sources   Download

MIT

The Requires

  • php-64bit ^7.1.3

 

The Development Requires

by Alt Three

uuid alt three

30/03 2018

v1.0.0

1.0.0.0

A UUID To Integer Converter

  Sources   Download

MIT

The Requires

  • php-64bit ^7.1.3

 

The Development Requires

by Alt Three

uuid alt three