Preheat your oven to 400°F (200°C) to ensure even baking.
Line your baking sheet with parchment paper to prevent sticking.
Unroll the thawed puff pastry on a lightly floured surface and roll it out to fit the baking sheet.
Spread the pizza sauce evenly over the puff pastry, leaving a small border around the edges.
Layer the sliced tomatoes, followed by halved mozzarella balls, and sprinkle shredded mozzarella on top.
Sprinkle chopped fresh basil over the cheese if using.
Place the baking sheet in the preheated oven and bake for 15-20 minutes until golden and bubbly.
Remove from the oven, let cool for a few minutes, then slice and serve hot.