-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NFR]: UUID generator in Random #16326
Labels
new feature request
Planned Feature or New Feature Request
Comments
nice ! |
added version 6 //version 6
$random->uuid6(); //1ede4ea1-7725-6670-916f-f9e288af019f
$random->uuid6(); //1ede4ea1-7725-6770-be3c-f9e288af019f
$random->uuid6(); //1ede4ea1-7725-67e0-8837-f9e288af019f
...
$random->uuid6(); //1ede4eac-294b-6fe0-bedf-313f2e13333a
$random->uuid6(); //1ede4eac-294c-6120-a6fb-313f2e13333a
$random->uuid6(); //1ede4eac-294c-61a0-9490-313f2e13333a |
I think we need to add this to the framework. |
@sinbadxiii if you are OK with it to merge it, we can get a PR going, alternatively it can be a package on its own. |
ok, thanks! I want to add versions 7-8 and run more tests and then I will prepare PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys!
Here I rewrote
Random
lib a bit for generate UUID. The generator allows you to get uuid version 1-5 (6,7,8 in developing).This will also close the task #14608 (comment) and #14955
Prototype is here https://github.com/sinbadxiii/cphalcon-uuid
For example:
We can discuss controversial points and I think to do a PR.
How do you think?
The text was updated successfully, but these errors were encountered: