PHPackages                             popsugar/php-yesmail-api - 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. popsugar/php-yesmail-api

ActiveLibrary

popsugar/php-yesmail-api
========================

PHP implementation of the Yesmail v1 API

1.0.0(12y ago)01.5k1MITPHPPHP &gt;=5.4.0

Since Aug 8Pushed 11y ago73 watchersCompare

[ Source](https://github.com/PopSugar/php-yesmail-api)[ Packagist](https://packagist.org/packages/popsugar/php-yesmail-api)[ Docs](https://github.com/PopSugar/php-yesmail-api)[ RSS](/packages/popsugar-php-yesmail-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (20)Used By (0)

php-yesmail-api
===============

[](#php-yesmail-api)

Yesmail v1 API PHP Client. Implementation for Subscriber, Master, and List Management APIs.

Getting started
---------------

[](#getting-started)

Yesmail can be installed using composer. Add the following to your composer.json file.

```
"popsugar/php-yesmail-api": "1.0.0"

```

Examples
--------

[](#examples)

Subscriber API Sample code:

```
$client = new Yesmail\CurlClient('username', 'password');
$yesmail = new Yesmail\Yesmail($client);
$subscriber = $yesmail->Subscriber_Lookup(array('email' => 'user@company.com'));
```

Master API Sample code:

```
$client = new Yesmail\CurlClient('username', 'password');
$yesmail = new Yesmail\Yesmail($client);
$masterName = 'Test Master';
$fromName = 'yoursite';
$fromDomain = 'yoursite.com';
$division = 'My Division';
$encoding = 'UTF-8';
$subject = 'A Subject';
$envelope = new Yesmail\YesmailMasterEnvelope($masterName, $fromName, $fromDomain, $division, $encoding, $subject);
$targeting = NULL;
$scheduling = array();
$ret = $yesmail->Master_Create($envelope, $targeting, $scheduling);
```

List Management API Sample code:

```
$client = new Yesmail\CurlClient('username', 'password');
$yesmail = new Yesmail\Yesmail($client);

$name = 'My List';
$type = 'DISTRIBUTIONLIST';
$subtype = 'SEEDLIST';
$deleteInsteadOfAppend = true;
$subscriberIds = array(1, 2, 3);
$emails = array();
$subscriberList = new Yesmail\YesmailListManagementSubscriberList($deleteInsteadOfAppend, $subscriberIds, $emails);
$modifyList = new Yesmail\YesmailListManagementModifyList($name, $type, $subtype, $subscriberList);
$ret = $yesmail->ListManagement_Update_List($modifyList);
```

Contributing
------------

[](#contributing)

To contribute to this project:

- Create a fork of this repository
- Create a thoughtfully named branch for your feature/bug
- Package your changes into meaningful commits with meaningful commit messages.
- Open a pull-request into PopSugar/php-yesmail-api@master

Please write unit tests for new code, and make sure existing unit tests pass. You can run the unit tests using `phpunit` from the top level directory.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

4663d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b427409a76e03351bc4e5c2eec6e79a02a415baa183e6f501fe598c06f548a9f?d=identicon)[pkallos](/maintainers/pkallos)

![](https://www.gravatar.com/avatar/47fde43f4fa697fd8a4da2a582987f681302cb0eb1a2c9b511ef6e9cff46b87f?d=identicon)[casey-powell](/maintainers/casey-powell)

---

Top Contributors

[![casey-powell](https://avatars.githubusercontent.com/u/4975720?v=4)](https://github.com/casey-powell "casey-powell (23 commits)")

---

Tags

yesmail

### Embed Badge

![Health badge](/badges/popsugar-php-yesmail-api/health.svg)

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

###  Alternatives

[coincheck/coincheck

Bindings of coincheck API

202.2k](/packages/coincheck-coincheck)

PHPackages © 2026

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