Closed khalwat closed 3 years ago
Probably you don't need the ramsey/uuid dependency at all, and can just remove the package. This is a good thing in terms of reducing dependencies to avoid situations like this:
ramsey/uuid
https://github.com/percipioglobal/craft-notifications/issues/66
You can just leverage the built-in UUID generator that Craft CMS has built in:
https://github.com/craftcms/cms/blob/develop/src/helpers/StringHelper.php#L1874
It's been available since Craft CMS 3.0.0
Thanks @khalwat!
I'll implement your suggestion shortly.
Probably you don't need the
ramsey/uuid
dependency at all, and can just remove the package. This is a good thing in terms of reducing dependencies to avoid situations like this:https://github.com/percipioglobal/craft-notifications/issues/66
You can just leverage the built-in UUID generator that Craft CMS has built in:
https://github.com/craftcms/cms/blob/develop/src/helpers/StringHelper.php#L1874
It's been available since Craft CMS 3.0.0