But you can't say "Hur lagar du?" in Swedish. It sounds really weird, so you have to specify what you are cooking. "Lagar" kan also mean "fix/repair", you see.
Saying "Hur lagar du?" would be like saying "How do you make?". Something is missing in that sentence.
laga mat isn't really a phrasal verb in Swedish, but rather a verb and an object that are both required for the meaning of the phrase. Considering that, what happens in the question is that the subject and the verb switch places, but the object remains in place.