I am using Laravel and when I get the result of this method:
return (string) Str::ulid();
it returns this:
01H32R5Z0NDY1WRYWKWT20ZQYM
I was trying the get something like this:
01gd6r360bp37zj17nxb55yv40
I would like it to return a mix of uppercase and lowercase characters, not only uppercase, this is weird because in the laravel documentacion it shows a mix of uppercase and lowercase characteres
ULID doesn't support mix case. You can use a function which can transform any case to mix case:
Or you just can use
Str::random(26). It's not the ULID but in this case you will get a random string with mix case by default