The standard advice of arriving 2 hours before a domestic flight or 3 hours for an international flight applies to PHX. For a relatively large airport Sky Harbor wait times scores pretty well. Be aware that during busy periods, typically am Mon - Fri and holidays such as spring break things will slow down somewhat. Note the early bag check-in service the airport used to offer has been discontinued.
You can view the availability of TSA PreCheck at the Phoenix Airport terminals by looking at the table above.
For information on joining TSA PreCheck and reducing your Sky Harbor security wait times visit https://www.tsa.gov/precheck. Also there is a TSA PreCheck Enrollment Center at the airport where pre-approved persons can arrange an appointment and complete enrollment.
Before COVID Terminal 4 serviced all international arrivals and the PHX wait times for those passengers were not known for being overly long. International arrivals have been few and far between now to judge consistent wait times for arriving non-US citizens.
For further information about Phoenix Airport wait times, the TSA, carry on allowances, where to eat, layover ideas and more visit https://www.skyharbor.com/