PHPackages                             ommicom/ommicom-mail-php - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ommicom/ommicom-mail-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ommicom/ommicom-mail-php
========================

OmmicomMail for PHP library.

v1.0.0(1mo ago)72↓85.7%MITPHPPHP ^7.4 || ^8.0CI passing

Since Jun 5Pushed 1mo agoCompare

[ Source](https://github.com/scoppy9201/OmmicomMail-PHP)[ Packagist](https://packagist.org/packages/ommicom/ommicom-mail-php)[ Docs](https://github.com/scoppy9201/OmmicomMail)[ RSS](/packages/ommicom-ommicom-mail-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

OmmicomMail for PHP
===================

[](#ommicommail-for-php)

This library helps you send e-mails through [OmmicomMail](https://github.com/scoppy9201/OmmicomMail) in PHP 7.4 and above.

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

[](#installation)

Install the library using [Composer](https://getcomposer.org/):

```
$ composer require ommicom/ommicom-mail-php

```

Usage
-----

[](#usage)

Sending an email is very simple. Just follow the example below. Before you can begin, you'll need to login to our web interface and generate a new API credential.

```
// Create a new OmmicomMail client using the server key you generate in the web interface
$client = new OmmicomMail\Client('https://mail.ommicom.com', 'your-api-key');

// Create a new message
$message = new OmmicomMail\Send\Message();

// Add some recipients
$message->to('john@example.com');
$message->to('mary@example.com');
$message->cc('mike@example.com');
$message->bcc('secret@awesomeapp.com');

// Specify who the message should be from. This must be from a verified domain
// on your mail server.
$message->from('test@ommicom.com');

// Set the subject
$message->subject('Hi there!');

// Set the content for the e-mail
$message->plainBody('Hello world!');
$message->htmlBody('Hello world!');

// Add any custom headers
$message->header('X-PHP-Test', 'value');

// Attach any files
$message->attach('textmessage.txt', 'text/plain', 'Hello world!');

// Send the message and get the result
$result = $client->send->message($message);

// Loop through each of the recipients to get the message ID
foreach ($result->recipients() as $email => $message) {
    $email;          // The e-mail address of the recipient
    $message->id;    // The message ID
    $message->token; // The message's token
}
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ba6e03b49ae1a9535901a6ac57f701b3b2ce99ba0683671fc572c988c24782f?d=identicon)[scoppy9201](/maintainers/scoppy9201)

---

Top Contributors

[![scoppy9201](https://avatars.githubusercontent.com/u/178824080?v=4)](https://github.com/scoppy9201 "scoppy9201 (2 commits)")

---

Tags

mailemailommicommail

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ommicom-ommicom-mail-php/health.svg)

```
[![Health](https://phpackages.com/badges/ommicom-ommicom-mail-php/health.svg)](https://phpackages.com/packages/ommicom-ommicom-mail-php)
```

###  Alternatives

[coconutcraig/laravel-postmark

Laravel package for sending mail via the Postmark API

2173.2M1](/packages/coconutcraig-laravel-postmark)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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