Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jop-software/doctrine-uuid-generators

Generate UUIDs for your doctrine entities.
https://github.com/jop-software/doctrine-uuid-generators

doctrine doctrine2 hacktoberfest php php-library symfony uuid uuid-generators

Last synced: 12 days ago
JSON representation

Generate UUIDs for your doctrine entities.

Awesome Lists containing this project

README

        


Doctrine UUID generators


Generate UUIDs for your doctrine entities

[![CI](https://github.com/jop-software/doctrine-uuid-generators/actions/workflows/ci.yaml/badge.svg)](https://github.com/jop-software/doctrine-uuid-generators/actions/workflows/ci.yaml)
[![CI](https://img.shields.io/badge/License-MIT-green)](LICENSE)

## Installation

```shell
composer require jop-software/doctrine-uuid-generators
```

## Usage

You can use all the generators in the `CustomIdGenerator` annotation.

```php
id;
}
}
```

## Available generators

- [UuidV1Generator](src/UuidV1Generator.php)
- [UuidV4Generator](src/UuidV4Generator.php)
- [UuidV6Generator](src/UuidV6Generator.php)
- [UlidGenerator](src/UlidGenerator.php)

> Versions 3 and 5 are not implemented currently, because they are namespace based and there is no way currently to
> pass such a namespace to the generator in the `CustomIdGenerator` annotation.

## Versions

| Version | State | `php` Version |
| --- | --- | --- |
| `2.x` | ![Supported](https://img.shields.io/badge/active_support-green?style=for-the-badge) | `^8.1` |
| `1.x` | ![Security Support](https://img.shields.io/badge/security_and_enterprise-orange?style=for-the-badge) | `^8.0` |

## Professional support

Professional support is available. Please contact [[email protected]](mailto:[email protected]) for more information.

## License

This project is licensed under the [MIT LICENSE](LICENSE)


© 2022-2024, jop-software Inh. Johannes Przymusinski