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

Fund package maintenance!

4.1.99 2020-06-30 13:49 UTC


Source Code Latest Version Software License PHP Version Build Status Coverage Status Total Downloads

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

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Much inspiration for this library came from the Java and Python UUID libraries.


The preferred method of installation is via Composer. 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

See the documentation for a thorough upgrade guide:


Please see https://uuid.ramsey.dev for documentation, tips, examples, and frequently asked questions.


Contributions are welcome! Please read CONTRIBUTING.md for details.

Copyright and License

The ramsey/uuid library is copyright © Ben Ramsey and licensed for use under the MIT License (MIT). Please see LICENSE for more information.