PHP code example of tankfairies / laravel-guid

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

    

tankfairies / laravel-guid example snippets


'providers' => [
    Tankfairies\LaravelGuid\GuidServiceProvider::class,
]

echo "GUID: " . guid(); // example output: 2b23924f-0eaa-4133-848e-7ce1edeca8c9

guid(version, format, salt, namespace)