One of the problems users have with their iPhone and iPad charging cables is they can fray on either end.
As a preventative measure, a plastic attachment – The Fray Fix – can be applied to both ends of the Lightning cable. This method is likely safer than some of the DIY solutions you’ll find online.
Another alternative is to purchase a strong, braided cable. One example is the Anker 3ft Nylon Braided USB Cable with Lightning Connector. This Anker cable has a 4,000+ bend lifespan, and an 18 month warranty. Importantly, it is also Apple MFi certified. Apple MFi Certified cables contain a unique, verified serial number and an authorization chip. Many cheap, third-party cables do not. What this means is that after an upgrade to iOS, the third-party cable may stop working.
If your cables are already damaged, and your device is still under warranty or AppleCare (and sometimes even if it is not), you should be able to get a free replacement an Apple Store.
How to Wrap Your Cables
Prevention, of course, is better than cure.
That means plugging and unplugging the Lightning cable by the connector, rather than the cord. Importantly, it also means making sure there’s no sharp bend or kinks in the cord at any time. Of course, its also not a good idea to just toss the cable in your luggage. But lets be honest, we’ve all done that.
There seems to be two popular methods for safely wrapping cables.
First, there’s the under/over method used by audio technicians and recommended by Wired.
And the coil wrap method, as demonstrated by Gotttabemobile.
Also, you can buy many different styles of cable tie to keep everything secure and organised.
Update: With the release of the iPhone 7, I noticed that Apple are now wrapping the cables in a circular fashion inside the original iPhone box. Presumably this is to minimise any possible internal damage to the cable.