123456789101112131415161718192021 |
- <?php
- $factory->define(App\User::class, function (Faker\Generator $faker) {
- return [
- 'name' => $faker->name,
- 'email' => $faker->safeEmail,
- 'password' => bcrypt(str_random(10)),
- 'remember_token' => str_random(10),
- ];
- });
|