I've lately been putting 1-2 star anise in my stockpot when I'm making stock and I'm totally obsessed with it.
Mind you, I've not made pho successfully, but I've read a few recipes for it and tried making it a couple times.
Small amount, it's strong.