Skip to content

johanderuijter/uuid-doctrine-odm

Repository files navigation

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 jdr/uuid-doctrine-odm

Usage

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

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •