PHP 8.3.30
Preview: User.php Size: 1.00 KB
/home/getspomw/royalsquad.us/app/Models/User.php

<?php

namespace App\Models;

// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class User extends Authenticatable
{
    /** @use HasFactory<\Database\Factories\UserFactory> */
    use HasFactory, Notifiable;

    /**
     * The attributes that are mass assignable.
     *
     * @var list<string>
     */
    protected $fillable = [
        'name',
        'email',
        'password',
        'role',
    ];

    /**
     * The attributes that should be hidden for serialization.
     *
     * @var list<string>
     */
    protected $hidden = [
        'password',
        'remember_token',
    ];

    /**
     * Get the attributes that should be cast.
     *
     * @return array<string, string>
     */
    protected function casts(): array
    {
        return [
            'email_verified_at' => 'datetime',
            'password' => 'hashed',
        ];
    }
}

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
172 B lrw-rw-rw- 2025-09-11 11:04:43
Edit Download
268 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
175 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
572 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
611 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
167 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
167 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
223 B lrw-rw-rw- 2025-09-17 06:52:53
Edit Download
1.00 KB lrw-rw-rw- 2025-09-18 05:57:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).