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 today

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

25

—

LowBetter than 35% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

470d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51105432?v=4)[yonoma](/maintainers/yonoma)[@yonoma](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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