Cook the pasta until al dente according to the instructions on the packet. Chop the broccoli into florets and cook in salted water for about 3 - 4 minutes.
Whisk the eggs with the milk and add the finely chopped onion. Add parsley, salt and pepper to season.
Now mix the pasta and broccoli in a flat baking dish. Pour the sauce over it and sprinkle with the cheese.
Bake in a preheated oven at 200 ° C for about 15 minutes.