A Starfleet laser cannon in 2254. 

A Starfleet laser cannon in 2254. 

Starfleet employed both laser and phaser weapons in the mid-23rd century with the latter technology largely replacing the former by the 2260s.