stevewaffles / aweber_class
A simple PHP class to interact with the AWeber API
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/stevewaffles/aweber_class
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-10-15 08:30:46 UTC
README
Basic Usage:
- Open aweberclass.php and add your keys
- Profit
Starter code:
<?php
require('aweber/aweberclass.php');
//new aweber
$app = new AWeber();
//use the list name you want to add subscribers to
$list = $app->findList($name='LIST_NAME_GOES_HERE');
//create new subscriber
$subscriber = array(
'email' => $_POST['email'],
'name' => $_POST['first_name'].' '.$_POST['last_name']
);
//add them to the list
$add_user = $app->addSubscriber($subscriber, $list);
?>