PHP helpers to help process requests and generate responses