Help please!

Sk

4 months ago I moved 5 hours away from my hometown. I wanted some freedom and I got a job that expanded my skillset, i also moved closer to one of my sisters. At first i loved the job, it was exactly what i wanted and then i woke up one morning, went to work and had a panic attack for no reason and now i have panic attacks everyday at the thought of work but i dont know why. My manager has been amazing but i cant stop panicking and crying! This happened once before but it happened straight away, this is a delayed reaction and i dont know what to do. Im homesick and want my mum but the issue is ive fallen in love up here.. hes perfect and weve spent every second we can with each other, hes a breath of fresh air and has said he will make long distance work if its what I need but I need him.. his parents have offered for me to live there as im there all the time but my family wouldnt be happy about it and i dont want to lose them. I just want my mum, pets and boyfriend all in one place and i want to like my job again and my freedom... please help me, i dont know what to do, im losing weight, cant eat or sleep but if i go home ive failed, ill lose my boyfriend and i left in the first place because i was depressed and felt suffocated so i dont know where i go from here... help me please, im distraught