Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.88 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.88 KB

uuid-doctrine-odm

Latest Version on Packagist Software License Build Status Total Downloads

Allow the use of a ramsey/uuid UUID as Doctrine ODM field type.

Install

Via Composer

$ composer require audithsoftworks/uuid-doctrine-odm

Usage

<?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);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Credits

License

The MIT License (MIT). Please see License File for more information.