Installing Electrical outlet for a garage door opener. How far back from the Entrance?

I'm going to want to install the elec. recepticle before I install the garage door. I thought that 8 feet back from the front entrance would be sufficient. I don't know how long the plug end of opener would be.
9 answers 9