PHPackages                             arokettu/uuid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. arokettu/uuid

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arokettu/uuid
=============

UUID and ULID classes

4.0.1(1y ago)32.1k↓50%1MITPHPPHP ^8.2

Since Jul 5Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/arokettu/php-uuid)[ Packagist](https://packagist.org/packages/arokettu/uuid)[ Docs](https://sandfox.dev/php/uuid.html)[ RSS](/packages/arokettu-uuid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (29)Used By (1)

PHP UUID Library
================

[](#php-uuid-library)

[![Packagist](https://camo.githubusercontent.com/7c3b839f1ec330b33e289ed8cadc1321a46e6f573dc69136331298108437f4a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726f6b657474752f757569642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arokettu/uuid)[![PHP](https://camo.githubusercontent.com/8dfff7bee42bd798bf2a3a5c6170440ac15e1d9e8201f33a1215f0d0a5928088/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f61726f6b657474752f757569642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arokettu/uuid)[![License](https://camo.githubusercontent.com/df9146299fa3e25d88925887bdd9629a7dd5cb6bd405c1264012b75fe727ca98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726f6b657474752f757569642e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Gitlab CI](https://camo.githubusercontent.com/dc4bbcdbf5092b958ee309a2c0cb969ad24c5f844ec3212f44e71e8dcd18ec93/68747470733a2f2f696d672e736869656c64732e696f2f6769746c61622f706970656c696e652f73616e64666f782f7068702d757569642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://gitlab.com/sandfox/php-uuid/-/pipelines)[![Codecov](https://camo.githubusercontent.com/47f75f0c50d4b9d7e435b50be739cda4dd91deae86c34060d80942733f08d7fa/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f676c2f73616e64666f782f7068702d757569643f7374796c653d666c61742d737175617265)](https://codecov.io/gl/sandfox/php-uuid/)

UUID and ULID classes for PHP.

Installation
------------

[](#installation)

```
composer require arokettu/uuid
```

- Either GMP or Bcmath extension is strongly recommended on 32-bit systems.

Usage
-----

[](#usage)

```
