wesmiler a41138daae wesmiler 1 vuosi sitten
..
.github a41138daae wesmiler 1 vuosi sitten
build a41138daae wesmiler 1 vuosi sitten
docs a41138daae wesmiler 1 vuosi sitten
resources a41138daae wesmiler 1 vuosi sitten
src a41138daae wesmiler 1 vuosi sitten
tests a41138daae wesmiler 1 vuosi sitten
.editorconfig a41138daae wesmiler 1 vuosi sitten
.gitattributes a41138daae wesmiler 1 vuosi sitten
.gitignore a41138daae wesmiler 1 vuosi sitten
.readthedocs.yml a41138daae wesmiler 1 vuosi sitten
CHANGELOG.md a41138daae wesmiler 1 vuosi sitten
CODE_OF_CONDUCT.md a41138daae wesmiler 1 vuosi sitten
CONTRIBUTING.md a41138daae wesmiler 1 vuosi sitten
LICENSE a41138daae wesmiler 1 vuosi sitten
README.md a41138daae wesmiler 1 vuosi sitten
SECURITY.md a41138daae wesmiler 1 vuosi sitten
captainhook.json a41138daae wesmiler 1 vuosi sitten
codecov.yml a41138daae wesmiler 1 vuosi sitten
composer.json a41138daae wesmiler 1 vuosi sitten
composer.lock a41138daae wesmiler 1 vuosi sitten
phpbench.json a41138daae wesmiler 1 vuosi sitten
phpcs.xml.dist a41138daae wesmiler 1 vuosi sitten
phpstan-tests.neon a41138daae wesmiler 1 vuosi sitten
phpstan.neon.dist a41138daae wesmiler 1 vuosi sitten
phpunit.xml.dist a41138daae wesmiler 1 vuosi sitten
psalm-baseline.xml a41138daae wesmiler 1 vuosi sitten
psalm.xml a41138daae wesmiler 1 vuosi sitten

README.md

ramsey/uuid

A PHP library for generating and working with UUIDs.

Source Code Download Package PHP Programming Language Read License Build Status Codecov Code Coverage Psalm Type Coverage

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

This project adheres to a 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! To contribute, please familiarize yourself with CONTRIBUTING.md.

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.