PHP code example of coder-orbit / unique-id-generator
1. Go to this page and download the library: Download coder-orbit/unique-id-generator 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/ */
coder-orbit / unique-id-generator example snippets
copy
// $model_name
// $field_name
// $length is limit for use max number is 18, defalut 10
$data = UniqueId::uniqueNumber(User::class, "unique_id", 5);
dd($data);
// 66292