Pin mount of horizontal pins without bending
You could use some right-angle female connector strips, but obviously from the topology once the leads are inserted and the strips soldered into a PCB it will no longer be possible to remove the laser. Photo from Sparkfun, but the parts are widely available from any distributor:"-