How to replace to_tsquery by phraseto_tsquery in PostgreSQL?
You cannot do that with phraseto_tsquery.
The lower-level functions provide more features that you cannot get with phraseto_tsquery or websearch_to_tsquery.