Mix cream cheese and sugar until smooth.
Add eggs one at a time and mix well.
Add flour and vanilla extract, then mix.
Line a baking pan with parchment paper and pour in the batter.
Bake in a 170°C oven for 40–45 minutes.
Cool completely, then chill in the refrigerator for at least 2 hours.