php-ulid
php-ulid copied to clipboard
Universally Unique Lexicographically Sortable Identifier ported to PHP
This really needs to have docstrings, minimum explaining class purpose, method signature and internal properties and constants.
API
Not sure I like the API of this library. It's very simple, but also a little dirty in places.
https://github.com/alizain/ulid/issues/11 Need to implement binary and API compatibility with original lib. Unsure if `pack` can be used, needs tests and toByteArray method.
You can integrate with this: https://github.com/adrianguenter/php-posix-realtime Not sure about Windows support.