PHP code example of orz14 / object-id
1. Go to this page and download the library: Download orz14/object-id 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/ */
orz14 / object-id example snippets
use ObjectId\ObjectId;
$objectId = ObjectId::generate();
echo $objectId; // 666f346400408b392ccd3a35