Make sure composer is installed.
Add this repository to your composer.json
file:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/vetleledaal/cloudflare-solver"
}
],
"require": {
"vetleledaal/cloudflare-solver": "dev-master"
}
}
Install with composer install
.
To use the examples replace
include 'cloudflare.php';
with
include 'vendor/autoload.php';