12345678910111213141516171819202122232425262728 |
- <?php
-
-
-
- use App\User;
- use Faker\Generator as Faker;
- use Illuminate\Support\Str;
-
-
-
- $factory->define(User::class, function (Faker $faker) {
- return [
- 'name' => $faker->name,
- 'email' => $faker->unique()->safeEmail,
- 'email_verified_at' => now(),
- 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
- 'remember_token' => Str::random(10),
- ];
- });
|