Popularity
9.5
Stable
Activity
5.2
-
11,221
129
414

Description

ramsey/uuid is a PHP 5.4+ library for generating and working with RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).

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

Code Quality Rank: L4
Monthly Downloads: 6,440,295
Programming language: PHP
License: MIT License
Tags: Strings     Uuid     Identifier     Guid    
Latest version: v4.1.1

UUID alternatives and similar libraries

Based on the "Strings" category.
Alternatively, view UUID alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of UUID or a related project?

Add another 'Strings' Library

README

ramsey/uuid

A PHP library for generating and working with UUIDs.

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.

Installation

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:

Documentation

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

Contributing

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

Coordinated Disclosure

Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY.md for instructions on submitting a vulnerability report.

ramsey/uuid for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of ramsey/uuid and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.

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.


*Note that all licence references and agreements mentioned in the UUID README section above are relevant to that project's source code only.