01 - Preheat the oven to 400°F. Line a baking sheet with parchment paper.
02 - On a lightly floured surface, roll out the puff pastry to about 1/8 inch thickness. Using a large star-shaped cookie cutter, approximately 8 inches across, cut out a star shape and place it on the prepared baking sheet.
03 - Cut strips about 0.6 inches wide from the remaining pastry. Arrange these strips around the edges of the star to form a raised border and press gently to seal.
04 - Brush the pastry edges with beaten egg. Sprinkle sesame seeds and extra Parmesan cheese over the border if desired.
05 - Bake for 10 to 12 minutes until the pastry is golden brown and crisp. Allow to cool completely on a wire rack.
06 - In a mixing bowl, combine cream cheese, ricotta, pesto, garlic, Parmesan, lemon juice, salt, and pepper. Mix until smooth and creamy.
07 - Transfer the cooled pastry star to a serving platter. Spoon the pesto filling into the center and spread evenly within the raised border.
08 - Serve immediately, using the crispy pastry edges as scoops for the dip.