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
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.
The ramsey/uuid library is copyright © Ben Ramsey and licensed for use under the MIT License (MIT). Please see LICENSE for more information.