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

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

smartsender/smartsender-php
===========================

PHP client for SmartSender API v3

0.9.4(7y ago)1209MITPHPPHP &gt;=7.1

Since May 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/smartsender/smartsender-php)[ Packagist](https://packagist.org/packages/smartsender/smartsender-php)[ Docs](http://github.com/smartsender/smartsender-php)[ RSS](/packages/smartsender-smartsender-php/feed)WikiDiscussions master Synced 3w ago

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

SmartSender SDK (v3 API Binding for PHP 7)
==========================================

[](#smartsender-sdk-v3-api-binding-for-php-7)

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

[](#installation)

```
composer require smartsender/smartsender-php

```

or add to your composer.json file next row and then execute "composer install" command

```
"require": {
  ...
  "smartsender/smartsender-php": ">=0.9.4",
  ...
}
```

SmartSender API version 3
-------------------------

[](#smartsender-api-version-3)

The SmartSender API can be found [here](https://kb.smartsender.io/doc/api-documentation/).

Getting Started
---------------

[](#getting-started)

```
$accessToken = new \SmartSender\V3\Auth\AccessToken('putYourAccessTokenHere');
$adapter = new \SmartSender\V3\Adapter\CurlAdapter($accessToken);

$mailer = new \SmartSender\V3\Client\Mailer($adapter);

try {

    // Almost all declared methods can throw an Exception, so you can catch it

    $email = new \SmartSender\V3\Email\Email();
        // Set parameters of Email
        // ...

    $email = $mailer->sendEmail($email);
    echo $email->getId();

} catch(\SmartSender\V3\Exceptions\SmartSenderException $e) {
    echo $e->getMessage();
}
```

SDK Documentation
-----------------

[](#sdk-documentation)

- [Mailer](/doc/MAILER.md)
- [SMS messages](/doc/SMS.md)
- [Contacts and Contact Lists](/doc/CONTACT_LIST.md)
- [Email Black List](/doc/EMAIL_BLACK_LIST.md)
- [Phone Black List](/doc/PHONE_BLACK_LIST.md)
- [Global Variables](/doc/GLOBAL_VARIABLES.md)

If you don't want to deal with objects and all you need is arrays of parameters, you can use adapter's request() method in conjunction with [SmartSender API documentation](https://kb.smartsender.io/doc/api-documentation/)Example you can find [here](/doc/ADAPTER_REQUEST.md)

Note that this repository is currently under development, additional classes and endpoints being actively added.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Every ~4 days

Total

2

Last Release

2596d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

emailsmssendmarketingsmartsendersndmart

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sendgrid/sendgrid

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

1.5k49.8M183](/packages/sendgrid-sendgrid)[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3026.1M9](/packages/mageplaza-module-smtp)[sendgrid/smtpapi

Build SendGrid X-SMTPAPI headers in PHP.

686.6M2](/packages/sendgrid-smtpapi)[mailerlite/mailerlite-api-v2-php-sdk

MailerLite API v2 PHP SDK

781.8M16](/packages/mailerlite-mailerlite-api-v2-php-sdk)[fastglass/sendgrid

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

213.8M](/packages/fastglass-sendgrid)[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27826.9k1](/packages/symfony-fake-sms-notifier)

PHPackages © 2026

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