Skip to content

DocnetUK/php-emc-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Campaigner API Client

This library is intended to make it easy for you to get started with and to use Email Campaigner in your applications.

Basic Examples

I find examples a great way to learn, so here's a couple for you (without the boilerplate)...

// Subscribe some lucky guy to our email list
$obj_client = new \Docnet\EMC\Client(EMC_API_KEY, EMC_API_SECRET);
$obj_client->subscribe('[email protected]');

Now let's unsubscribe him

// Bill changed his mind...
$obj_client = new \Docnet\EMC\Client(EMC_API_KEY, EMC_API_SECRET);
$obj_client->unsubscribe('[email protected]');

Install with Composer

To install using composer, use this require line

"docnet/php-emc-client": "dev-master"

About

Email Campaigner API Client in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages