4 ms·
Sqids[1] might fit the bill for you - the IDs it produces are much shorter than UUIDs, however they're not universally unique - they're generated from an intege
by pants2 2y ago
Sqids[1] might fit the bill for you - the IDs it produces are much shorter than UUIDs, however they're not universally unique - they're generated from an integer sequence.
1. https://sqids.org/ https://sqids.org/
- NetOpWibby 2y agoSqids looks fantastic, thanks for sharing!
- slivanes 2y agoA feature of a Sqid library I've used is that it can pad the value out to a minimum set of characters, so even an internal id of 1 can look substantial. https://github.com/sqids/sqids-php https://github.com/sqids/sqids-php