If I'm not with my boyfriend, I have emotional breakdowns

I've been with my boyfriend for a year and a half. He loves me a lot, and I love him. It hurts to be apart from him for so long. It hurts all over, and then I feel like it won't last.