An object-oriented PHP wrapper for Drip's REST API v2.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix lint issue and add test Sep 5, 2018
tests Fix lint issue and add test Sep 5, 2018
.gitignore Ignore vscode stuff Jun 4, 2018
.travis.yml Fix tests and start linting Jun 4, 2018
CHANGELOG.md Add changelog entry Sep 5, 2018
LICENSE.txt Add MIT license Oct 20, 2017
Makefile
README.md Add note about PHP version support Jun 4, 2018
composer.json Set license Jun 4, 2018
phpcs.xml A little more linter cleanups Jun 4, 2018
phpunit.xml Code coverage and an additional test Jun 4, 2018

README.md

Drip API Wrapper - PHP

An object-oriented PHP wrapper for Drip's REST API v2.0

Build Status

Installation

Run composer require dripemail/drip-php

Authentication

For private integrations, you may use your personal API Token (found here) via the api_key setting:

$client = new \Drip\Client("YOUR_API_KEY", "YOUR_ACCOUNT_ID");

For public integrations, pass in the user's OAuth token via the access_token setting:

$client = new \Drip\Client("YOUR_ACCESS_TOKEN", "YOUR_ACCOUNT_ID");

Your account ID can be found here. Most API actions require an account ID, with the exception of methods like the "list accounts" endpoint.

PHP version support

We attempt to support versions of PHP that are supported upstream: http://php.net/supported-versions.php

For the actual supported list, see .travis.yml.