Peel and chop shallots and garlic. Scald tomatoes, peel and roughly cut.
Heat the oil in a pan and fry the shallots and garlic until translucent. Add tomatoes and stew open over medium heat for about 15 minutes. Salt and pepper. Press in four hollows. Beat the eggs one by one and let them slide into the hollows. Put the cream cheese in flakes on top. Lightly salt and pepper the eggs. Cover and let simmer for about 8 minutes.
Spread the basil leaves on top and serve in the pan.