We explore perfect and quasi-perfect codes for the Bosonic channel, where information is generated by a laser and conveyed in the form of coherent states. In particular, we consider the phase-modulation codebook for coherent states in a Bosonic channel. We show that these phase-modulation codes are quasi-perfect as long as the cardinality of the code is the same as the dimension of the coherent states. These codes feature the smallest error probability among all codes of the same cardinality and the same dimension of the channel Hilbert space. We study the performance of these codes in terms of error probability, incorporating the degradation caused by a depolarizing or an erasure quantum channel.