How do you install laminate around doors?

Laminate flooring? There is a saw that rests on the floor and cuts a groove the right height under the door frame and trim and you slide the flooring under it.