<?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
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
'username' => fake()->unique()->userName(),
'firstname' => fake()->name(),
'image' => fake()->imageUrl(),
'lastname' => fake()->name(),
'email' => fake()->unique()->safeEmail(),
'status' => fake()->numberBetween(0, 2),
'refferal_user_id' => fake()->numberBetween(1, 100),
'email_verified' =>fake()->numberBetween(0, 1),
'sms_verified' =>fake()->numberBetween(0, 1),
'kyc_verified' =>fake()->numberBetween(0, 1),
'two_factor_verified' =>fake()->numberBetween(0, 1),
'email_verified_at' => now(),
'password' => Hash::make("rokondev"), // password
'remember_token' => Str::random(10),
];
}
/**
* Indicate that the model's email address should be unverified.
*
* @return static
*/
public function unverified()
{
return $this->state(fn (array $attributes) => [
'email_verified_at' => null,
]);
}
}
How To Payment
Making a payment on our website is quick and secure. Start by logging in or creating an account. Select your preferred payment method, input the required details, and review the information. Once you confirm everything is correct, click on the "Submit Payment" button. You’ll receive instant confirmation and can track your payment status through your account dashboard. It’s an easy and secure process.