PHPackages                             1a65/oempro-php-api - 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. 1a65/oempro-php-api

ActiveLibrary[API Development](/categories/api)

1a65/oempro-php-api
===================

Oempro API integration

1.1(8y ago)11.3kMITPHP

Since Jul 29Pushed 8y ago2 watchersCompare

[ Source](https://github.com/1a65/oempro-php-api)[ Packagist](https://packagist.org/packages/1a65/oempro-php-api)[ RSS](/packages/1a65-oempro-php-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

OEMPRO PHP Api
==============

[](#oempro-php-api)

This SDK is intended to facilitate the integration with OEMPRO

Basic config for integration
----------------------------

[](#basic-config-for-integration)

```
$oemproApiKey = '9291-0e9a-b2b1-c9b4-ea1e-3450-a718-1234';
$oemproListId = '1';
$oemproUrl    = 'https://example.com/';
$oempro       = new Api($oemproUrl, $oemproApiKey);

```

Manage subscriber information
-----------------------------

[](#manage-subscriber-information)

### Search email in list

[](#search-email-in-list)

```
$subscriber = $oempro->get('Subscriber.Get', [
    'ListID' => $oemproListId,
    'EmailAddress' => $email
    ], 'array');

```

#### Verify if email exists in list

[](#verify-if-email-exists-in-list)

```
if ($subscriber['Success']) {
    $sId = $subscriber['SubscriberInformation']['SubscriberID'];
}

```

### Set data in Custom Fields

[](#set-data-in-custom-fields)

```
    $fields = [
        '1'  => 'Fist Name',
        '2' => 'Last Name',
    ];

```

### Insert subscriber

[](#insert-subscriber)

```
$this->oempro->get('Subscriber.Subscribe', [
    'ListID'       => $oemproListId,
    'EmailAddress' => $email,
    'IPAddress'    => '1234',
    'fields'       => $fields,
], 'array');

```

### Update subscriber

[](#update-subscriber)

```
$this->oempro->get('Subscriber.Update', [
    'SubscriberListID' => $oemproListId,
    'SubscriberID'     => $sId,
    'EmailAddress'     => 'email',
    'IPAddress'        => '1234',
    'fields'           => $fields,
], 'array');

```

Manage campaigns with html content
----------------------------------

[](#manage-campaigns-with-html-content)

### 1 - Create a email

[](#1---create-a-email)

```
$email = $oempro->post('Email.Create', [], 'array');

```

### 2 - Update a email with html content

[](#2---update-a-email-with-html-content)

```
$email = $oempro->post('Email.Update', [
    'EmailID' => $email['EmailID'],
    'ValidateScope' => 'Campaign',
    'FromName' => 'John',
    'FromEmail' => 'john@gmail.com',
    'ReplyToName' => 'Jhon',
    'ReplyToEmail' => 'john@gmail.com',
    'Subject' => 'My subject',
    'Mode' => 'Empty',
    'HTMLContent' => $html
], 'array');

```

### 3 - Create a campaign

[](#3---create-a-campaign)

```
$campaign = $oempro->post('Campaign.Create', [
    'CampaignName' => 'Best price'
], 'array');

```

### 4 - Update a campaign schedule and list

[](#4---update-a-campaign-schedule-and-list)

```
$campaign = $oempro->post('Campaign.Update', [
    'CampaignID' => $campaign['CampaignID'],
    'RelEmailID' => $email['EmailID'],
    'RecipientListsAndSegments' => '1:0', #'2:5'
    'ScheduleType' => 'Immediate'
], 'array');

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~20 days

Total

3

Last Release

3172d ago

Major Versions

v0.9 → 1.02017-07-29

### Community

---

Top Contributors

[![raphaelgiovanini](https://avatars.githubusercontent.com/u/1341858?v=4)](https://github.com/raphaelgiovanini "raphaelgiovanini (8 commits)")

### Embed Badge

![Health badge](/badges/1a65-oempro-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/1a65-oempro-php-api/health.svg)](https://phpackages.com/packages/1a65-oempro-php-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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