Divide the puff pastry into 4 equal portions and roll out the pieces of dough on a floured surface until they are slightly larger than the shapes. Then place the pieces of dough in the molds, pressing down the corners well.
Halve the tomatoes, chop the shallots and mix both with the peas and basil. Divide the vegetable mixture over the four quiches.
Beat the eggs in a large bowl, mix with the cheese and cream and season with salt and pepper. Pour the mixture over the vegetables.
Bake the quiches for 30-35 minutes, until the filling is thick.