PHPackages                             yonoma/yonoma-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. yonoma/yonoma-php

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

yonoma/yonoma-php
=================

The official PHP client library for the Yonoma Email Marketing API

1.0.0(1y ago)03MITPHPPHP ^7.4 || ^8.0

Since Mar 21Pushed 1y agoCompare

[ Source](https://github.com/YonomaHQ/yonoma-php)[ Packagist](https://packagist.org/packages/yonoma/yonoma-php)[ Docs](https://yonoma.io)[ RSS](/packages/yonoma-yonoma-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Yonoma Email Marketing PHP SDK
==============================

[](#yonoma-email-marketing-php-sdk)

The official PHP client library for the Yonoma Email Marketing API

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

[](#installation)

Install via Packagist

```
composer require yonoma/yonoma-php

```

Or add the following to `composer.json`

```
{
  "require": {
    "yonoma/yonoma-php": "*"
  }
}

```

Quick Start
-----------

[](#quick-start)

### Note : This SDK requires PHP version 7.4 or above.

[](#note--this-sdk-requires-php-version-74-or-above)

```
require_once('/Yonoma/vendor/autoload.php');

$yonoma = new Yonoma\ApiClient('YOUR-API-KEY');
```

### Send an Email

[](#send-an-email)

```
$response = $yonoma->email->sendEmail([
    "from_email" => "updates@yonoma.io",
    "to_email" => "email@yourdomain.com",
    "subject" => "Welcome to Yonoma - You're In!",
    "mail_template" => "We're excited to welcome you to Yonoma! Your successful signup marks the beginning of what we hope will be an exceptional journey."
]);
```

Lists
-----

[](#lists)

#### Create new list

[](#create-new-list)

```
$response = $yonoma->lists->create([
  "list_name" => "New list"
]);
```

#### Get list of lists

[](#get-list-of-lists)

```
$response = $yonoma->lists->list();
```

#### Get one list

[](#get-one-list)

```
$response = $yonoma->lists->retrieve('list id');
```

#### Update list

[](#update-list)

```
$response = $yonoma->lists->update('list id',[
  "list_name" => "Updated list name"
]);
```

#### Delete list

[](#delete-list)

```
$response = $yonoma->lists->delete('list id');
```

Tags
----

[](#tags)

#### Create new tag

[](#create-new-tag)

```
$response = $yonoma->tags->create([
  "tag_name" => "New tag"
]);
```

#### Get list of tags

[](#get-list-of-tags)

```
$response = $yonoma->tags->list();
```

#### Get one tag

[](#get-one-tag)

```
$response = $yonoma->tags->retrieve('Tag id');
```

#### Update tag

[](#update-tag)

```
$response = $yonoma->tags->update('Tag id',[
  "tag_name" => "Updated tag name"
]);
```

#### Delete tag

[](#delete-tag)

```
$response = $yonoma->tags->delete('Tag id');
```

Contacts
--------

[](#contacts)

#### Create new contact

[](#create-new-contact)

```
$response = $yonoma->contacts->create("list id", [
  "email" => "email@example.com",
  "status" => "Subscribed" | "Unsubscribed",
  "firstName" => "Contact", //optional
  "lastName" => "One", //optional
  "phone" => "1234567890", //optional
  "address" => "123, NY street", //optional
  "city" => "NY City", //optional
  "state" => "NY", //optional
  "country" => "US", //optional
  "zipcode" => "10001" //optional
]);
```

#### Update contact

[](#update-contact)

```
$response = $yonoma->contacts->update("list id", "Contact id", [
  "status" => "Subscribed" | "Unsubscribed",
]);
```

#### Add tag to contact

[](#add-tag-to-contact)

```
$response = $yonoma->contacts->addTag("Contact id", [
  "tag_id" => "Tag id",
]);
```

#### Remove tag from contact

[](#remove-tag-from-contact)

```
$response = $yonoma->contacts->removeTag("Contact id", [
  "tag_id" => "Tag id",
]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance45

Moderate activity, may be stable

Popularity3

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

Unknown

Total

1

Last Release

424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/827dc9680bec66c065a97993f6f420ae2c8785fe14b1043bceaf6dbdf8b87475?d=identicon)[yonoma](/maintainers/yonoma)

---

Top Contributors

[![vimalvraj](https://avatars.githubusercontent.com/u/22679765?v=4)](https://github.com/vimalvraj "vimalvraj (3 commits)")

---

Tags

yonoma-apiyonoma-email-marketingyonoma-php-sdkemail senderemail-apiyonomayonoma-apimarketing-emailyonoma-php-sdk

### Embed Badge

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

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

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[pusher/pusher-push-notifications

562.5M9](/packages/pusher-pusher-push-notifications)

PHPackages © 2026

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