This repository contains the example code used the tutorial Using Guzzle and PHPUnit for REST API Testing on the Cloudflare Blog.
If you want to use this yourself, simply ensure you have Composer
installed on your system. Once you have cloned the repository you can then run composer install
to pull the depdendencies (Guzzle and PHPUnit) into the vendor
directory.
Should you wish to run the tests, you can simply use composer test
, and the tests in the tests
directory will run.