Catalyzes the non-oxidative deamination of L-phenylalanine to form trans-cinnamic acid and a free ammonium ion. Facilitates the commitment step in phenylpropanoid pathways that produce secondary metabolites such as lignins, coumarins and flavonoids 