The current invention involves the use of portable devices such as a smart phone or tablet to perform an examination and diagnostic of an eye or pair of eyes using a photorefraction system and technique. The portable device would send a ray of light through the cornea and take measurements of the refraction. It would then use this information to diagnose any defects of the eye using a software application (app) or program or it can transmit the information to a server on which the diagnostic software is located where the server will run the diagnostic analysis.