An adaptive laser system for ophthalmic use is provided. In another aspect, a relatively inexpensive laser is employed. In another aspect of the present system, non-linear optical imaging uses multiphoton fluorescences and/or second harmonic generation, to create three-dimensional mapping of a portion of the eye in combination with automated feedback to assist with a surgical operation. In a further aspect of the present system, the patient interface uses laser induced markings or indicia to aid in focusing and/or calibration. Still another aspect employs temporal focusing of the laser beam pulse.