PHP Classes

Pepo Campaing: Manage user lists of PepoCampaigns mailings

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 41 All time: 10,527 This week: 201Up
Version License PHP version Categories
pepocampaing_php 1The PHP License5Email, PHP 5, Web services
Description Author

This class can manage user lists of PepoCampaigns mailings.

It can send HTTP requests to PepoCampaigns API Web server to perform several types of operations of contact lists.

Currently it can create a new list of contacts, add a new user contact to the list, remove a user from the list, and change the status of a user.

Picture of Ricardo Merino
Name: Ricardo Merino <contact>
Classes: 1 package by
Country: El Salvador El Salvador
Age: 33
All time rank: 44485 in El Salvador El Salvador
Week rank: 553 Up1 in El Salvador El Salvador Up


PHP Pepo Campaign Library

There a simple Pepo Campaign library in PHP


This library use cUrl


Set the pepo key and api secret key in the pepocampaign class constructor

$this->pepo_key = 'change-me';
$this->pepo_secret = 'change-me';

Also you can set the time zone


How to use it

require ("pepocampaign.php");
$pepo = new pepocampaign();

Create contact list

require ("pepocampaign.php");
$pepo = new pepocampaign();
$atributes = array('name' => 'The new list name', 'source' => 'Loremp ipsum');

Add contact to list

require ("pepocampaign.php");
$pepo = new pepocampaign();
$atributes = array('email' => '', 'first_name' => 'Loremp', 'last_name' => 'Ipsum');

Remove contact from list

require ("pepocampaign.php");
$pepo = new pepocampaign();
$atributes = array('email' => '');

Change user status

require ("pepocampaign.php");
$pepo = new pepocampaign();
$atributes = array('email' => '', 'type' => 'unsubscribed');

About Pepo Campaign

Pepo Campaigns builds on our team’s 6 years of experience sending >1 billion emails through campaigns, transactional, and targeted trigger emails (for large e-commerce companies like, offering you enterprise-level features at startup speed.

Create gorgeous emails with our drag-and-drop template tool Optimize your campaigns using insightful reports and analytics Target your campaigns with advanced segmentation and A/B testing Leverage powerful marketing automation to create sophisticated trigger flows Utilize our API’s to send transactional emails All made simple with no code required on your end, so your developers can stay focused on the technology while your marketing team can focus on the message.

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file pepocampaign.php Class Class source
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,527
This week:201Up