PHP code example of alpharecon19 / cloudflare-php

1. Go to this page and download the library: Download alpharecon19/cloudflare-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

alpharecon19 / cloudflare-php example snippets


$APIKEY = "1234567893feefc5f0q5000bfo0c38d90bbeb";
$Email = "[email protected]";

$Cloudflare = new Cloudflare\Cloudflare($APIKEY, $Email);


udflare = new Cloudflare\Cloudflare();
$User = new Cloudflare\User($Cloudflare);

var_dump($User->get());