ldc-gen-game-web/database/factories/UserFactory.php
Jérémy Munsch 1a5eb157cb
- Changed bump to LARAVEL 8
- Changed bump composer deps
- Changed bump npm deps
- Upgraded AppServiceProvider to use LDC specifics
2022-01-10 17:57:51 +01:00

26 lines
616 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'name' => $this->faker->name(),
'email' => $this->faker->unique()->safeEmail(),
'email_verified_at' => now(),
// * password
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
'remember_token' => Str::random(10),
];
}
}