PHPackages                             pixart/addemar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pixart/addemar

ActiveLibrary[API Development](/categories/api)

pixart/addemar
==============

PHP Library to easy talk to the Addemar API

22.5kPHP

Since Oct 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/pix-art/addemar)[ Packagist](https://packagist.org/packages/pixart/addemar)[ RSS](/packages/pixart-addemar/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#PHP API Wrapper for Addemar [![Build Status](https://camo.githubusercontent.com/187a95f5b406926286da6af610967c467d890b9b067fbba9fbd6f465a71bcc78/68747470733a2f2f7472617669732d63692e6f72672f7069782d6172742f616464656d61722e737667)](https://travis-ci.org/pix-art/addemar) [![Build Status](https://camo.githubusercontent.com/30fb31e147b36f825ed6c2c39af6e176c697b220bc9e2e47013edb565648e30c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7069782d6172742f616464656d61722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pix-art/addemar)

Fully rewritten this old stuff. Is now unittested and contains 3 managers so far.

```
ContactManager
SendingManager
ContactGroupsManager

```

All correspond with the structure of the addemar documentation here:

\##Settings

Settings are needed to connect to the client. In the constructor you can set your Token. Other parameters are pre-defined but can be updated.

```
class Settings
{
	private $token;
	private $version = 1.4;
	private $wsdl = 'https://ws-email.addemar.com/soap/wsdl/';
	private $options = array();

	...
}

```

\##Connection

Connection is an **extension** from the standard **SoapClient**. You don't need to know much about this component. Just pass your settings and this will give you a working connection.

\##Managers

Managers are just grouping names for functions of a specific catergory. Each manager is contains function that you'll be able to find in the documentation from addemar. You can load a manager by calling the Factory.

**Example**

```
use Addemar\Factory\ManagerFactory;
use Addemar\Client\Connection;
use Addemar\Configuration\Settings;

$connection = new Connection(new Settings('Your Token'));
ManagerFactory::create($connection, 'Addemar\Manager\ContactGroupsManager');

```

\###ContactManager

**List of Functions:**

\####getStructure()

Get structure from contact

*return:* structure ContactData

\####create($structure)

Create a new contact

- ContactData $contact\_data: structure: ContactData

*return:* integer (contact id)

\####getContactId($status, $filter, $search\_field\_id = 1)

Get list of contact ids

- integer $status: 0=all 1=not unsubscribed 2=unsubscribed
- string $filter: Text to search on
- integer $search\_field\_id: Field id to search on

*return:* integer array (contact id's)

\####getContactData($cid)

Get data from contact specified by the contact id

- integer $cid: Contact id

*return:* structure ContactData

\####getFieldIdByName($name)

Get list of field ids

- string $parameter: Field parameter to search on

*return:* array (field id's)

\####update($contact\_data)

Update contact

- ContactData $contact\_data: Structure: ContactData

*return:* boolean (true=successful, false=unsuccessful)

\####delete($cid)

Remove/delete contact specified by the contact id

- integer $cid: Contact id

*return:* boolean (true=successful, false=unsuccessful)

\####subscribeContact($cid, $mgid)

Subscribe contact specified by the contact id

- integer $cid: Contact id
- integer $mgid: Mailgroup id

*return:* boolean (true=successful, false=unsuccessful)

\###ContactGroupsManager

**List of Functions:**

\####getMailgroupId($name)

Get list of mailgroup ids

- string $name: Mailgroup name to search on

*return:* array (mailgroup id's)

\###SendingManager

**List of Functions:**

\####sendTriggeredItem(SendItem $senditem)

Send triggered item (Campaign Item exists)

object $senditem: instance of **Addemar\\Model\\SendItem**

*return:* integer (eid)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1121188?v=4)[pixart](/maintainers/pixart)[@pixart](https://github.com/pixart)

---

Top Contributors

[![pix-art](https://avatars.githubusercontent.com/u/1973973?v=4)](https://github.com/pix-art "pix-art (4 commits)")

### Embed Badge

![Health badge](/badges/pixart-addemar/health.svg)

```
[![Health](https://phpackages.com/badges/pixart-addemar/health.svg)](https://phpackages.com/packages/pixart-addemar)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
