PHP code example of phpgt / ulid
1. Go to this page and download the library: Download phpgt/ulid 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/ */
phpgt / ulid example snippets
use Gt\Ulid\Ulid;
$exampleDataSource->create(new Person(
new Ulid("pet"),
name: "Cody",
age: 5,
));