Proxy API for PHP.