⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.31
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lifestylescentra
/
www
/
database
/
factories
/
View File Name :
UserFactory.php
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; /** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User> */ class UserFactory extends Factory { protected static ?string $password; /** * Define the model's default state. * * @return array<string, mixed> */ public function definition(): array { // return [ // 'name' => fake()->name(), // 'email' => fake()->unique()->safeEmail(), // 'email_verified_at' => now(), // 'password' => static::$password ??= Hash::make('password'), // 'remember_token' => Str::random(10), // ]; } /** * Indicate that the model's email address should be unverified. */ public function unverified(): static {} }