Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jop-software/doctrine-uuid-generators
- Owner: jop-software
- License: mit
- Created: 2022-08-13T20:41:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T20:24:18.000Z (9 months ago)
- Last Synced: 2024-10-07T14:45:21.646Z (about 1 month 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[![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