PHP code example of adbutler / adbutler-php

1. Go to this page and download the library: Download adbutler/adbutler-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/ */

    

adbutler / adbutler-php example snippets






\AdButler\API::init(array('api_key' => '45e8fca2dc0f896fd7cb4cb0031ba249'));

$advertiser = \AdButler\Advertiser::create(array(
  "can_change_password" => true,
  "can_add_banners" => true,
  "email" => "[email protected]",
  "name" => "Demo Advertiser",
  "password" => "some_password"
));

echo $advertiser;
bash
composer