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

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

eliksir/sendgrid-subuser-api
============================

Library to easily work with the SendGrid Subuser API

v0.3.1(5y ago)615.8k↓42.9%2[1 issues](https://github.com/mailmojo/sendgrid-subuser-api/issues)BSDPHPPHP &gt;=5.3.0

Since Mar 11Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mailmojo/sendgrid-subuser-api)[ Packagist](https://packagist.org/packages/eliksir/sendgrid-subuser-api)[ Docs](https://github.com/eliksir/sendgrid-subuser-api)[ RSS](/packages/eliksir-sendgrid-subuser-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP SendGrid Subuser API
========================

[](#php-sendgrid-subuser-api)

This PHP library makes it easy to work with the [SendGrid Subuser API](http://docs.sendgrid.com/documentation/api/customer-subuser-api/customer-api/). It was made to scratch our own itch, and as such it currently only implements the parts of the API that we needed. Please feel free to request additional features or send pull requests.

Basic Usage
-----------

[](#basic-usage)

```
$sendgrid = new SendGrid\Api("my_username", "my_password");
// Create a new sub user
$user = new SendGrid\SubUser("wanted_username", "password",
        "email@example.com", "email.domain.example.com");
$sendgrid->addSubUser($user);
// Retrieve existing sub user
$other = $sendgrid->getSubUser("sub_username");
// Assign IPs to a user
$other->assignIps(array("1.2.3.4"));
```

See `example/example.php` for more examples.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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

Every ~2282 days

Total

2

Last Release

2169d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e98a18237339e9bda2b473ed15ab3265b0ffffcc834ab02234f373e2cd8c50b?d=identicon)[asteinlein](/maintainers/asteinlein)

---

Top Contributors

[![asteinlein](https://avatars.githubusercontent.com/u/904794?v=4)](https://github.com/asteinlein "asteinlein (18 commits)")[![fdanielsen](https://avatars.githubusercontent.com/u/343098?v=4)](https://github.com/fdanielsen "fdanielsen (1 commits)")

---

Tags

emailsendgrid

### Embed Badge

![Health badge](/badges/eliksir-sendgrid-subuser-api/health.svg)

```
[![Health](https://phpackages.com/badges/eliksir-sendgrid-subuser-api/health.svg)](https://phpackages.com/packages/eliksir-sendgrid-subuser-api)
```

###  Alternatives

[sendgrid/sendgrid

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

1.5k47.5M164](/packages/sendgrid-sendgrid)[sendgrid/smtpapi

Build SendGrid X-SMTPAPI headers in PHP.

696.5M2](/packages/sendgrid-smtpapi)[slm/mail

Integration of various email service providers in the Laminas\\Mail

108732.4k1](/packages/slm-mail)[omnimail/omnimail

PHP Library to send email across all platforms using one interface.

32934.3k](/packages/omnimail-omnimail)[fastglass/sendgrid

This library allows you to send emails through SendGrid using PHP and Guzzle 6.x.

213.7M](/packages/fastglass-sendgrid)

PHPackages © 2026

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