Download the PHP package fmasites/omeda without Composer

On this page you can find all versions of the php package fmasites/omeda. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package omeda

fmasites/omeda

A Laravel package for interacting with the Omeda API.

Requirements

Installation

Configuration

Add the following to your .env file:

Variable Description
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 requests

Usage

OmedaApi

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

Available methods

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

Getting HTML links for past issues of a deployment product

  1. Call productLookupByBrand() and find the product of interest (e.g. filter by ProductType or DeploymentTypeId).
  2. Call emailDeploymentSearch() with that product's DeploymentTypeId as Type, a date range, and Statuses => ['SENT'] to get the past deployments' TrackIds.
  3. Call emailDeploymentLookup($trackId) for each and read HtmlContentUrl off each entry in Splits.
  4. HtmlContentUrl/TextContentUrl are themselves Omeda API URLs and 400 with "No applicationId was submitted" if fetched directly (e.g. linked to from a browser) - fetch them server-side with fetchDeploymentContent($url) instead.

DataAdapter

Utilities for transforming brand comprehensive lookup data:

Enums

The package includes enums for common Omeda constants:

Enum Description
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 codes

Testing


All versions of omeda with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/cache Version ^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fmasites/omeda contains the following files

Loading the files please wait ...