PHP code example of jkingweb / druuid
1. Go to this page and download the library: Download jkingweb/druuid library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jkingweb / druuid example snippets
KingWeb\DrUUID\UUID;
echo UUID::mint();
KingWeb\DrUUID\UUID;
echo UUID::mint(1)."\n";
echo UUID::mint(3, "some identifier", $private_namespace)."\n";
echo UUID::mint(4)."\n";
echo UUID::mint(5, "some identifier", $private_namespace)."\n";