How to TTL a laser?

That would work, but it's better to put the laser below Q1 so the laser gets a full 5v along with the resistor, and the transistor does not work as hard..