adbutler/adbutler-php

This package is abandoned and no longer maintained. No replacement package was suggested.

AdButler PHP Library

Maintainers

Package info

github.com/adbutler/adbutler-php

Homepage

Documentation

pkg:composer/adbutler/adbutler-php

Statistics

Installs: 6 784

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 2

v1.0.6 2017-08-24 23:53 UTC

README

Warning

This repository is deprecated and no longer maintained. It may not be compatible with current software versions and is not recommended for direct use in production environments. This repository is provided as-is and should be used as a guideline for custom integrations only.

AdButler PHP bindings

Travis Packagist Pre Release Total Downloads License

You can sign up for an AdButler account at https://adbutler.com.

If you are looking for documentation, go here: https://adbutler.com/docs/api?php

Requirements

  1. AdButler account
  2. PHP 5.6 or later

Installation

Composer

You can install the bindings via Composer. Run the following command:

composer require adbutler/adbutler-php

If you are installing a beta version, then you need to mention the version tag too e.g. composer require adbutler/adbutler-php 1.0.4-beta.

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Manual Installation

If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.

require_once('/path/to/adbutler-php/init.php');

Getting Started

Simple usage looks like:

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

$advertiser = \AdButler\Advertiser::create(array(
  "can_change_password" => true,
  "can_add_banners" => true,
  "email" => "demo.advertiser@adbutler.com",
  "name" => "Demo Advertiser",
  "password" => "some_password"
));

echo $advertiser;

Documentation

Please see https://adbutler.com/docs/api for up-to-date documentation.

License

© 2016–2019 SparkLIT. Released under the MIT license.