PHP code example of nicoorfi / prefix-id

1. Go to this page and download the library: Download nicoorfi/prefix-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/ */

    

nicoorfi / prefix-id example snippets



en = prefix_id(prefix: 'sgm', length: 24)

echo $token // sgm_MF0e5Ng0xJc1zMv3A0T4f0n2