PHPackages                             fmasites/omeda - 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. fmasites/omeda

ActiveLibrary

fmasites/omeda
==============

Omeda API client and utilities for Laravel

v0.2.1(3d ago)00MITPHPPHP ^8.3CI passing

Since Mar 12Pushed 3d agoCompare

[ Source](https://github.com/FMASites/omeda-api)[ Packagist](https://packagist.org/packages/fmasites/omeda)[ RSS](/packages/fmasites-omeda/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

fmasites/omeda
==============

[](#fmasitesomeda)

A Laravel package for interacting with the [Omeda API](https://knowledgebase.omeda.com/omedaclientkb/api-overview).

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 11 or 12

Installation
------------

[](#installation)

```
composer require fmasites/omeda
```

Configuration
-------------

[](#configuration)

Add the following to your `.env` file:

```
OMEDA_APP_ID=
OMEDA_BASE_API_URL=
OMEDA_BRAND=
OMEDA_CLIENT=
OMEDA_CLIENT_BASE_API_URL=
OMEDA_INPUT_ID=
```

VariableDescription`OMEDA_APP_ID`Your Omeda application ID`OMEDA_BASE_API_URL`Base URL for the Omeda brand API`OMEDA_BRAND`Your Omeda brand abbreviation`OMEDA_CLIENT`Your Omeda client abbreviation`OMEDA_CLIENT_BASE_API_URL`Base URL for client-level API endpoints`OMEDA_INPUT_ID`Input ID used for POST requestsUsage
-----

[](#usage)

### OmedaApi

[](#omedaapi)

```
use FMASites\Omeda\OmedaApi;

$api = new OmedaApi();
```

You can also inject custom base URLs directly, which is useful in tests:

```
$api = new OmedaApi(baseApiUrl: 'https://...', clientBaseApiUrl: 'https://...');
```

#### Available methods

[](#available-methods)

```
// Brand
$api->brandComprehensiveLookup();             // Cached for 8 hours

// Customer
$api->customerComprehensiveLookup($id);
$api->customerLookupByEmail($email);

// Orders & Transactions
$api->storeCustomerAndOrder($data);
$api->transactionLookup($transactionId);
$api->runProcessor($transactionIds);          // Utility API

// Postal
$api->postalInfoLookup($zipCode);             // Utility API

// Email
$api->emailOptinQueue($email, $deploymentTypeId, $options);
```

GET methods return `array|false` — `false` indicates a non-successful response (404, 300, etc.). POST methods return an `Illuminate\Http\Client\Response` instance.

### DataAdapter

[](#dataadapter)

Utilities for transforming brand comprehensive lookup data:

```
use FMASites\Omeda\DataAdapter;

// Filter demographics down to specific type IDs
DataAdapter::filterByDemographicTypes($brandData, [1, 2, 3]);

// Simplify the full brand lookup response to a smaller structure
DataAdapter::simplifyBrandComprehensiveLookupData($brandData);

// Remove specific demographic value options by ID
DataAdapter::removeDemographicValueOptionsById($brandData, [10, 11]);

// Simplify a products array
DataAdapter::simplifyProductData($products);
```

### Enums

[](#enums)

The package includes enums for common Omeda constants:

EnumDescription`AddressContactType`Address contact type codes`EmailContactType`Email contact type codes`PhoneContactType`Phone contact type codes`MarketingClassCode`Marketing classification codes`ProductType`Product type codes`SubscriptionClassCode`Subscription classification codes`LocationCodes`Country, US state, Canadian province, and Mexican state codesTesting
-------

[](#testing)

```
composer install
./vendor/bin/phpunit
```

###  Health Score

38

—

LowBetter than 86% of packages

Maintenance99

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

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.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

3d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/150a0cec8002f01c2630f20f1bafb4b2d599ec4832cb5ea08809486580f269d8?d=identicon)[mkunzelman](/maintainers/mkunzelman)

---

Top Contributors

[![kunzelmanm](https://avatars.githubusercontent.com/u/18157080?v=4)](https://github.com/kunzelmanm "kunzelmanm (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fmasites-omeda/health.svg)

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

###  Alternatives

[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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