01 - Preheat the oven to 400°F.
02 - Combine cherry tomatoes and minced garlic in a large baking dish. Drizzle with olive oil and season with sea salt, black pepper, and crushed red pepper flakes if using. Toss to coat evenly.
03 - Nestle the block of feta cheese in the center of the baking dish among the tomatoes. Drizzle with a little extra olive oil.
04 - Bake for 30 minutes until the tomatoes burst and the feta softens and turns golden.
05 - Simultaneously, bring a large pot of salted water to a boil and cook the pasta according to package directions until al dente. Reserve ½ cup of the pasta cooking water and then drain.
06 - Remove the baking dish from the oven and use a spoon to mash the feta and roasted tomatoes together into a creamy sauce.
07 - Add the drained pasta and half of the torn basil leaves to the baking dish. Toss thoroughly, adding reserved pasta water gradually to adjust sauce consistency.
08 - Serve immediately, garnishing with the remaining fresh basil leaves.