After I installed the https://filamentphp.com/ on my local env and very impress because It’s to easy to setup, nice UI and https://filamentphp.com/docs/2.x/admin/installation. So, we miss one step which is not mention in the v2 document.
*/ protected $fillable = [ 'name', 'email', 'password', ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function canAccessFilament(): bool { return str_ends_with($this->email, '@xxx.com'); }}