Two ways to generate UUIDs on Debian with PHP

  • uuid_create in uuid in PECL (which depends on php5-dev, uuid-dev packages etc)
  • uuid_create, uuid_make, uuid_export provided by php5-uuid and libossp-uuid-dev etc)