Topic: Which package is better for UUID generation?

$ yum search php | grep uuid
php-pecl-uuid.x86_64 : Universally Unique Identifier extension for PHP
php-pecl-uuid-debuginfo.x86_64 : Debug information for package php-pecl-uuid
uuid-php.x86_64 : PHP support for Universally Unique Identifier library


$ yum info uuid-php
Loaded plugins: auto-update-debuginfo
Available Packages
Name        : uuid-php
Arch        : x86_64
Version     : 1.6.2
Release     : 21.fc20
Size        : 14 k
Repo        : fedora/20/x86_64
Summary     : PHP support for Universally Unique Identifier library
URL         : http://www.ossp.org/pkg/lib/uuid/
License     : MIT
Description : PHP OSSP uuid module.


$ yum info php-pecl-uuid
Loaded plugins: auto-update-debuginfo
Available Packages
Name        : php-pecl-uuid
Arch        : x86_64
Version     : 1.0.3
Release     : 6.fc20
Size        : 21 k
Repo        : fedora/20/x86_64
Summary     : Universally Unique Identifier extension for PHP
URL         : http://pecl.php.net/package/uuid
License     : LGPLv2+
Description : A wrapper around Universally Unique Identifier library (libuuid).

Re: Which package is better for UUID generation?

I think the PECL extension, maintained by PHP project is better than the other, maintained by UUID Project...

Probably worth testing both.

Notice API are not the same.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70