It would take about ten lines of code to do that with a $2 eBay Arduino Pro Mini, less than the cost of a good cup of cappuccino. Very crudely, you could try something like this. If the timing is critical, there are better solutions.
digitalWrite(pin, 1); //turn on laser
delayMicroseconds(45); //wait
digitalWrite(pin, 0); //turn off
delayMicroseconds(5); //etc.
...