PHP code example of stevenmaguire / laravel-uuid-model

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

    

stevenmaguire / laravel-uuid-model example snippets


class User extends Stevenmaguire\Laravel\UuidModel
{
    //
}

class User extends Stevenmaguire\Laravel\UuidModel
{
    /**
     * Auto-assigned uuid model attributes.
     *
     * @var array
     */
    public $uuidAttributes = ['foo', 'bar'];
}