I'm planning to choose my friend over my boyfriend.
Why do you feel you have to choose one or the other?
My boyfriend said I had to make a choice, so he's out.
Barring something serious, your boyfriend should not interfere with your friendships or vice versa. You are right to dump him. He would start controlling other aspects of  your life otherwise.
It's fine, I had to choose my friend over my boyfriend and I am glad I did this.
It's good that you have your priorities straight. You seem like a good friend.