Using the dough hook attachment, mix yeast, sugar, and warm water for about 3 minutes in the bowl of a stand mixer. Then, gradually add the flour, one cup at a time, followed by table salt and butter. Continue mixing until the dough forms a smooth ball. Knead the dough for 6 to 8 times.