Why did my iPhone suddenly stop charging?
When an iPhone stops charging, I first suspect a worn-out battery. Still, test with a charger, cable and outlet you know work, then swap your own parts back in one at a time. Gently clear the Lightning port with canned air, never a sharp object. Let a dead phone sit plugged in for about 10 minutes, and if it still won't charge, get it checked by Apple.