You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
466 B
16 lines
466 B
<?php
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
use App\Models\User;
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(User::class, function (Faker $faker) {
|
|
return [
|
|
'name' => $faker->name,
|
|
'email' => $faker->unique()->safeEmail,
|
|
'mobile' => $faker->unique()->phoneNumber,
|
|
'username' => $faker->unique()->userName,
|
|
'password' => '$2y$10$l8jgLtb7RyDd7wbvxYPsuu7gjo/bLBkBYQhXnkpdmm.SVF3CT00UW',
|
|
];
|
|
});
|