My iphone broke. Will Apple replace it?

My iPhone 5 charging port has broken and it will no longer charge. I'm not sure d it's the charger or the actual port in the phone. I'm still under the one year apple warranty so will Apple replace it? Or somehow help out? Are there any ways to get it replaced for free? Or any way I can get a free one?

Depends how long you had it, it may cost something to fix it.