Iphone 5 charger trouble

Alright so I bought a 3rd party charger and it doesn't work anymore, I literally am typing this from my 2% charged phone. When I buy an authentic apple one it always gets a lump on the top where It connects to the iphone ( any help with that to?) anyways please help me with this problem with great detail

If you buy a new cable if you have an old pen with a spring wrap it around where the connector goes into the phone it should stop it from bending I would do it on both ends with two springs