PHP code example of ifullgaz / laravel-global-unique-id

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

    

ifullgaz / laravel-global-unique-id example snippets


Ifullgaz\GlobalUniqueId\ServiceProvider::class,

use Ifullgaz\GlobalUniqueId\Models\Traits\GlobalUniqueId;

class MyClass extends Model
{
    use GlobalUniqueId;
}
shell
php artisan vendor:publish --tag=globaluniqueid-config