The standard mac charging cables are very fragile, to save money in the long run the best option is to reinforce the cables so they don't break. Here is one way of reinforcing your cables with duct tape and a cord protector.

I've purchased this cord protector from pythoncords. It's providing some protection from the start but i wanted more protection hence the duct tape.

Hope this helps