Allow the use of a ramsey/uuid UUID as Doctrine ODM field type.
Via Composer
$ composer require jdr/uuid-doctrine-odm<?php
use Doctrine\ODM\MongoDB\Types\Type;
Type::registerType('ramsey_uuid', 'JDR\Uuid\Doctrine\ODM\UuidType');
Type::registerType('ramsey_uuid_binary', 'JDR\Uuid\Doctrine\ODM\UuidBinaryType');Please see CHANGELOG for more information what has changed recently.
$ composer testPlease see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email dev@johanderuijter.nl instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.