For the spaetzle, wash the basil, place the leaves in a tall mixing bowl and puree with 1 egg. Mix flour and 1 teaspoon salt in a bowl. Add basil puree, 3 eggs and 80-100 ml water. Knead everything smooth with the dough hooks of the mixer until the dough throws bubbles. Cover and let it swell for about 20 minutes.
Bring salted water to the boil in a wide saucepan. Spread the dough with a spaetzle slicer in portions into the water. Let it simmer for about 4 minutes until the spaetzle float on top. Lift them out with a skimmer and let them drain well. Keep warm.
For the ragout chanterelles may be washed and cleaned. Peel and chop the onions. Wash and halve the tomatoes.
Heat the oil in a large frying pan. Sauté the chanterelles in it vigorously. Add onions and fry briefly. Season with salt and pepper. Add tomatoes and fry for about 2 minutes. Carefully stir in cream cheese and cream and simmer open for about 5 minutes. Season sauce with salt and pepper. Serve with spaetzle.