qlimix / uuid-ramsey
Ramsey uuid generator implementation
2.0.0
2020-11-14 12:39 UTC
Requires
- php: >7.4
- qlimix/uuid: ^2.0
- ramsey/uuid: ^4.0
Requires (Dev)
- qlimix/code-standard: ^3.0
This package is auto-updated.
Last update: 2024-10-14 21:51:39 UTC
README
description.
Install
Using Composer:
$ composer require qlimix/uuid-ramsey
usage
<?php use \Qlimix\Id\Uuid\Generator\RamseyUuidGenerator; use Throwable; $generator = new RamseyUuidGenerator(); try { $uuid = $generator->generate(); } catch (Throwable $exception) { // UuidGeneratorException }
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.