The complete source code for the PHP example can be found at GitHub. Clone the repository to get started.
git clone https://github.com/xmlstats/example-php.git
The example shows one way to make requests and receive responses from the API using PHP's cURL module. It also shows how to store the API responses in a local cache. To use the cache, you will need to install a memcache server and make sure PHP's memcache module is installed for your system.