1. Go to this page and download the library: Download kgalanos/filament-user 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/ */
App\Models\User
with
class User extends \Kgalanos\FilamentUser\Models\User implements FilamentUser
{
use HasFilamentShield, HasRoles;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'email',
'password',
'username',
'avatar_url',
'phone',
];
.....
}