Proxy builder for PHP