Switch to Symfony\Component\Uid for UUIDs #47631
Unanswered
binaryfire
asked this question in
Ideas
Replies: 1 comment
-
Performance aside, Laravel references both Ramsey UUID and Symfony ULID helpers in the same files. Git Blame doesn't provide any insight, other than these changes were added by different contributors. At first glance, would think it'd make sense to refactor entirely to one library or the other. framework/src/Illuminate/Support/Str.php Lines 15 to 17 in fc8f819 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
According to the benchmarks
Symfony\Component\Uid
is more performant thanRamsey\Uuid\Uuid
. The Symfony component is already installed for the UID helpers, so wouldn't it make sense to drop the Ramsey package altogether?Links:
Beta Was this translation helpful? Give feedback.
All reactions