Allow the use of a ramsey/uuid UUID as Doctrine ODM field type.
Via Composer
$ composer require audithsoftworks/uuid-doctrine-odm
<?php
use Doctrine\ODM\MongoDB\Types\Type;
Type::registerType('ramsey_uuid', \AudithSoftworks\Uuid\Doctrine\ODM\UuidType::class);
Type::registerType('ramsey_uuid_binary', \AudithSoftworks\Uuid\Doctrine\ODM\UuidBinaryType::class);
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
- Shahriyar Imanov (v2.x and v3.x)
- Johan de Ruijter (v1.x)
- All Contributors
The MIT License (MIT). Please see License File for more information.