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: about 1 month ago
JSON representation
Generate UUIDs for your doctrine entities.
- Host: GitHub
- URL: https://github.com/jop-software/doctrine-uuid-generators
- Owner: jop-software
- License: mit
- Created: 2022-08-13T20:41:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T20:24:18.000Z (over 2 years ago)
- Last Synced: 2025-09-24T09:46:22.909Z (9 months ago)
- Topics: doctrine, doctrine2, hacktoberfest, php, php-library, symfony, uuid, uuid-generators
- Language: PHP
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Doctrine UUID generators
Generate UUIDs for your doctrine entities
[](https://github.com/jop-software/doctrine-uuid-generators/actions/workflows/ci.yaml)
[](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` |  | `^8.1` |
| `1.x` |  | `^8.0` |
## Professional support
Professional support is available. Please contact [support@jop-software.de](mailto:support@jop-software.de) for more information.
## License
This project is licensed under the [MIT LICENSE](LICENSE)
© 2022-2024, jop-software Inh. Johannes Przymusinski