A HTTP request to DB query mapper for PHP applications