If you want to do it in that order, bring her to Canada and marry her, she needs a visit visa to Canada. She can apply in the Philippines. Because it is a visit visa, she must convince the immigration officers that she only plans to visit. She can say visit friend, visit boyfriend etc. but it must only be a visit. She needs to show strong ties to her homeland, job, family etc. that she will return after her visit. You can send her an invitation and say that you will be responsible for her and pay her costs. If she gets the visa, she comes to Canada, you get married and then you can apply to sponsor her for PR.
If she can't get a visit visa, you may have to do it the other way around, that is you go to the Philippines, marry her there and then you sponsor her for PR.