PHPackages                             ocramius/ramsey-uuid-temporary-fork - 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. ocramius/ramsey-uuid-temporary-fork

Abandoned → [ramsey/uuid](/?search=ramsey%2Fuuid)Library[Utility &amp; Helpers](/categories/utility)

ocramius/ramsey-uuid-temporary-fork
===================================

Do not use - this is just to avoid having to use the git/github repository types, and will be dropped in future

4.1.99(5y ago)1281MITPHPPHP ^7.2 || ^8

Since Jul 20Pushed 4y agoCompare

[ Source](https://github.com/Ocramius/uuid)[ Packagist](https://packagist.org/packages/ocramius/ramsey-uuid-temporary-fork)[ Docs](https://github.com/ramsey/uuid)[ GitHub Sponsors](https://github.com/ramsey)[ RSS](/packages/ocramius-ramsey-uuid-temporary-fork/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (23)Versions (55)Used By (0)

ramsey/uuid
===========

[](#ramseyuuid)

[![Source Code](https://camo.githubusercontent.com/2ebb5f195f7abc2d8b76a2bd5303d0946bcc4b4bc2a0d9a3dda6f2de8eb573b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d72616d7365792f757569642d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ramsey/uuid)[![Latest Version](https://camo.githubusercontent.com/696d012ead428b8db501f6677c24628c0867b2b6c093105e0b13cc92d30c8365/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616d7365792f757569642e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://packagist.org/packages/ramsey/uuid)[![Software License](https://camo.githubusercontent.com/675421f07980763226d27e9f256c81950fb587c2946d1d3c694a71cdd6cc8914/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72616d7365792f757569642e7376673f7374796c653d666c61742d737175617265)](https://github.com/ramsey/uuid/blob/master/LICENSE)[![PHP Version](https://camo.githubusercontent.com/0242870faa5d5cfe5d4527baecfb5cb865a114604edbcf64957720954228e979/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72616d7365792f757569642e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![Build Status](https://camo.githubusercontent.com/e7844e6e8a91c96f780c5f2595b6805ae36144ad2f3f1515faa6a20ff3c1e3b6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616d7365792f757569642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ramsey/uuid)[![Coverage Status](https://camo.githubusercontent.com/d155c8c4afd19fd4dc606abae6afe0817b43a69b4d42f38d012a4ec05be86418/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f72616d7365792f757569642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/ramsey/uuid?branch=master)[![Total Downloads](https://camo.githubusercontent.com/0ac58979453628b4ab354f73db68fa83e91c00c2886613573084b7ea333887ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616d7365792f757569642e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6d656469756d76696f6c6574726564)](https://packagist.org/packages/ramsey/uuid)

ramsey/uuid is a PHP library for generating and working with universally unique identifiers (UUIDs).

This project adheres to a [Contributor Code of Conduct](https://github.com/ramsey/uuid/blob/master/.github/CODE_OF_CONDUCT.md). By participating in this project and its community, you are expected to uphold this code.

Much inspiration for this library came from the [Java](http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html) and [Python](http://docs.python.org/3/library/uuid.html) UUID libraries.

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

[](#installation)

The preferred method of installation is via [Composer](http://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require ramsey/uuid
```

Upgrading to Version 4
----------------------

[](#upgrading-to-version-4)

See the documentation for a thorough upgrade guide:

- [Upgrading ramsey/uuid Version 3 to 4](https://uuid.ramsey.dev/en/latest/upgrading/3-to-4.html)

Documentation
-------------

[](#documentation)

Please see  for documentation, tips, examples, and frequently asked questions.

Contributing
------------

[](#contributing)

Contributions are welcome! Please read [CONTRIBUTING.md](https://github.com/ramsey/uuid/blob/master/.github/CONTRIBUTING.md) for details.

Copyright and License
---------------------

[](#copyright-and-license)

The ramsey/uuid library is copyright © [Ben Ramsey](https://benramsey.com/) and licensed for use under the MIT License (MIT). Please see [LICENSE](https://github.com/ramsey/uuid/blob/master/LICENSE) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 83.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Total

51

Last Release

2142d ago

Major Versions

2.8.2 → 3.0.0-alpha22015-07-28

2.8.3 → 3.0.0-beta12015-08-31

2.8.4 → 3.2.02016-02-17

2.9.0 → 3.3.02016-03-22

3.9.2 → 4.x-dev2019-12-24

PHP version history (7 changes)1.0.0PHP &gt;=5.3.3

3.0.0-alpha1PHP &gt;=5.4

3.6.0PHP ^5.4 || ^7.0

3.9.0PHP ^5.4 | ^7

3.9.2PHP ^5.4 | ^7 | ^8

4.x-devPHP ^7.2 | ^8

4.1.99PHP ^7.2 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0445bc21fa116c259b5889377b90cbd8a34d49357321f76a74f6d2c2ae6b0c?d=identicon)[Ocramius](/maintainers/Ocramius)

---

Top Contributors

[![ramsey](https://avatars.githubusercontent.com/u/42941?v=4)](https://github.com/ramsey "ramsey (688 commits)")[![jmauerhan](https://avatars.githubusercontent.com/u/4204262?v=4)](https://github.com/jmauerhan "jmauerhan (35 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (23 commits)")[![marijn](https://avatars.githubusercontent.com/u/65233?v=4)](https://github.com/marijn "marijn (8 commits)")[![mhujer](https://avatars.githubusercontent.com/u/353372?v=4)](https://github.com/mhujer "mhujer (7 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (6 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (4 commits)")[![mjrider](https://avatars.githubusercontent.com/u/213105?v=4)](https://github.com/mjrider "mjrider (4 commits)")[![mloureiro](https://avatars.githubusercontent.com/u/3427665?v=4)](https://github.com/mloureiro "mloureiro (4 commits)")[![Potherca](https://avatars.githubusercontent.com/u/195757?v=4)](https://github.com/Potherca "Potherca (4 commits)")[![ghola](https://avatars.githubusercontent.com/u/932205?v=4)](https://github.com/ghola "ghola (3 commits)")[![davispeixoto](https://avatars.githubusercontent.com/u/1113230?v=4)](https://github.com/davispeixoto "davispeixoto (3 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (3 commits)")[![1ma](https://avatars.githubusercontent.com/u/1456708?v=4)](https://github.com/1ma "1ma (2 commits)")[![AlessandroMinoccheri](https://avatars.githubusercontent.com/u/3356506?v=4)](https://github.com/AlessandroMinoccheri "AlessandroMinoccheri (2 commits)")[![antoha-gs](https://avatars.githubusercontent.com/u/4762905?v=4)](https://github.com/antoha-gs "antoha-gs (2 commits)")[![BackEndTea](https://avatars.githubusercontent.com/u/14289961?v=4)](https://github.com/BackEndTea "BackEndTea (2 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (2 commits)")[![frederikbosch](https://avatars.githubusercontent.com/u/1552577?v=4)](https://github.com/frederikbosch "frederikbosch (2 commits)")

---

Tags

uuididentifierguid

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ocramius-ramsey-uuid-temporary-fork/health.svg)

```
[![Health](https://phpackages.com/badges/ocramius-ramsey-uuid-temporary-fork/health.svg)](https://phpackages.com/packages/ocramius-ramsey-uuid-temporary-fork)
```

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k700.2M3.3k](/packages/ramsey-uuid)[pascaldevink/shortuuid

PHP 7.4+ library that generates concise, unambiguous, URL-safe UUIDs

5951.8M15](/packages/pascaldevink-shortuuid)[keiko/uuid-shortener

A simple shortener library for RFC 4122 compatible UUIDs. Change your 36 chars long UUID into it's shorter equivalent.

150215.4k2](/packages/keiko-uuid-shortener)[oittaa/uuid

A small PHP class for generating RFC 9562 universally unique identifiers (UUID) from version 3 to version 8.

50302.7k5](/packages/oittaa-uuid)[ramsey/identifier

A PHP library for generating and working with identifiers, including UUIDs, ULIDs, and Snowflakes

603.0k1](/packages/ramsey-identifier)[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
