create(); \App\Models\User::factory()->create([ 'name' => Str::random(10), 'email' => Str::random(10).'@gmail.com', 'password' => Hash::make('password') ]); // $user=new User; // $user->name=Str::random(10); // $user->email=Str::random(10).'@gmail.com'; // $user->password=Hash::make('password'); // $user->save(); } }