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(1mo ago)00MITPHPPHP ^8.3CI passing

Since Mar 12Pushed 1mo agoCompare

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

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

36

—

LowBetter than 82% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

52d 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

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[genealabs/laravel-model-caching

Automatic caching for Eloquent models.

2.4k4.8M26](/packages/genealabs-laravel-model-caching)[mikebronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k127.1k1](/packages/mikebronner-laravel-model-caching)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[jerome/filterable

Streamline dynamic Eloquent query filtering with seamless API request integration and advanced caching strategies.

19226.1k](/packages/jerome-filterable)

PHPackages © 2026

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