Chosen Solution

My phone has suddenly decided to stop charging with the Apple plug and cable, and now will ONLY charge via a portable charger and an Anker cable. It will not work with a combination of portable battery and Apple cable, nor Apple plug with Anker cable. The port has been checked for dust and I’ve done a soft reset on the device. Don’t know what else to do?!

Check if the iPhone can be detected at all by the computer. Also check if possible if the lightning to headphone adapter still works on it. If it does not with multiple cables then it sounds like the Charging chip just went bad on the phone and needs to be replaced by a reputable repair shop that does board-repairs for iPhones.