Does the name on the passport have to be the same as the name you're applying in?

The reason being, we've just got married and want to apply for a Spouse Visa. For her to get her passport changed to her married name would take at least 2 months and that is "Philippines' two months"

So we want to apply for the Spouse Visa now, but her passport will still be in her maiden name.

Will this be a problem?

If so, will it be ok to apply in her maiden name - but still apply for the Spouse Visa?

Hope this makes sense.