It's legal to use plastic for mains in California up to the structure but must be changed to copper or galvanized going into the house.
Unless plastic mains are covered with a concrete slurry prior to burrying they are still too easially broken, i've had to repair too many of them.
Our well is hanging on 450' of 1" threaded schedule 80. The installer is well known for reliable systems. He won't use anything else. The big problem with plastic is grounding all the valves in the system. IMHO, there should be a tapped hole in every metal valve for attaching a ground wire. Fire hydrants and big gate valves (4") are especially bad.