I've created using the OpenSCAD reference to "iPhone 5 Dock with Lightning Cable".
Please print it and modify it as necessary because the head of the Lightning Cable has been pretty tight.
It is attached to the back of the state in which the slip sheet photo.
If you need a back support if it is OK to modify the part that is commented out in the "Mount Base" section at the SCAD file! !