Using lasers with arduino

What do you mean by harmful? To arduino? To yourself??

If you are using tiny red laser diodes (e.g. keyes 008, 5 mW 30mA), I have those wired directly to arduino digital pins.

If you want other colors or higher power you probably need a FET and laser drivers, because these require more current.