There are two types of lightning cables, certified ones(Mfi) and non certified. The licencing fees makes the Mfi cables more expensive, but requires the cables are manufactured to apples high standards (usually guaranteeing a quality cable). The cheaper non certified cables will work just aswell 99% of the time, as Chinese companies have found a way to work around apples verification chips. If your buying a non-mfi cable i'd suggest going for a a fairly priced one and not a $1 cable - as you get what you pay for as with most things!
I have purchased some good quality non-certified cables and high quality Mfi cables from here, and had no issues ( Australian based company)
Check them out if your in melbourne
https://mobilemob.com.au/collections/apple-lightning-cables