Caramelize the Onions – Melt butter in a large pot over medium-high heat. Add sliced onions and sauté for 30 minutes, stirring frequently, until deeply caramelized. Stir in minced garlic and cook for 2 more minutes.
Build the Flavor – Sprinkle in flour, stir for a minute, then pour in the white wine to deglaze the pan. Scrape up any browned bits for extra richness.
Simmer to Perfection – Add stock, Worcestershire sauce, bay leaf, and thyme. Stir well, bring to a simmer, then reduce heat and let cook for at least 10 minutes. Discard the bay leaf and thyme sprigs. Season with salt and black pepper to taste.
Prepare the Toasted Topping – Preheat oven to 400°F. Slice the baguette into 1-inch pieces and toast on a baking sheet for 6-8 minutes until golden and crisp.
Assemble and Broil – Switch oven to broil. Ladle soup into oven-safe bowls, top with toasted baguette slices, and generously layer with cheese. Broil for 2-4 minutes until the cheese is melted and bubbling. Serve immediately.