bcismariu / ongage-php
Simple PHP wrapper for Ongage API
v0.1.0
2016-03-28 09:47 UTC
Requires
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2024-11-13 06:06:22 UTC
README
Ongage is a vendor agnostc email marketing platform.
This is a simple PHP implementation of the API calls.
Installation
Update your composer.json
file
{ "require": { "bcismariu/ongage-php": "0.*" } }
Run composer update
Usage
use Bcismariu\Ongage\Ongage; $ongage = new Ongage('USERNAME', 'PASSWORD', 'ACCOUNT_CODE'); $ongage->useList('YOUR_LIST_ID')->addContact([ 'email' => 'contact.email@domain.com', 'name' => 'First Contact' ]);
Read the official API for more details regarding parameters and responses.
Contributions
This is a very basic implementation that can only handle email validations. Any project contributions are welcomed!