PHPackages                             avangdev/avang-php-sendemail-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. avangdev/avang-php-sendemail-api

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

avangdev/avang-php-sendemail-api
================================

PHP API for send Email. Easily send outgoing email

v1.0(6y ago)0231MITPHPPHP &gt;=7.1CI failing

Since Mar 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/avangdev/avang-php-sendemail-api)[ Packagist](https://packagist.org/packages/avangdev/avang-php-sendemail-api)[ Docs](https://www.avangemail.com)[ RSS](/packages/avangdev-avang-php-sendemail-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

Avang REST client for Send Email
================================

[](#avang-rest-client-for-send-email)

A simple Avang REST client library for PHP. This library allows you to quickly and easily use the Avang Web API via PHP for send Emails.

Prerequisites
-------------

[](#prerequisites)

- [An Avang SMTP account](https://avangemail.com/smtp)

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

[](#installation)

Make sure you have [composer](https://getcomposer.org) installed.

Require the package

```
composer require --prefer-dist avangdev/avang-php-sendemail-api dev-master
```

#### PHP Versions

[](#php-versions)

Requires PHP &gt;= 7.1

Examples
--------

[](#examples)

**\##### Send simple email**

```
require_once(__DIR__.'/../vendor/autoload.php');
use AvangPhpApi\Base;
use AvangPhpApi\ComposeMessage;

$host = 'https://example.com'; //  host address
$key = 'yourApiKey';  // example key
$base = new Base($host, $key);
$composeMessage = new ComposeMessage($base);
$composeMessage->to('test@example.com');
$composeMessage->from('John Doe');
$composeMessage->sender('admin@example.com');
$composeMessage->subject('Mail subjec');
$composeMessage->replyTo('admin@example.com');
$composeMessage->plainBody('Hello');
$composeMessage->htmlBody('Hello');
$composeMessage->attach('test.png', 'application/octet-stream', 'test');
$result = $composeMessage->send();

```

[More Expample](https://github.com/avangdev/avang-php-sendemail-api/tree/master/examples)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

2258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/909e77ac43ac917cd25bd489b996d2e4b17ff244bbdd75b8dd3928c153ea8d1f?d=identicon)[avangdev](/maintainers/avangdev)

---

Top Contributors

[![avangdev](https://avatars.githubusercontent.com/u/42209626?v=4)](https://github.com/avangdev "avangdev (7 commits)")

---

Tags

avang-php-send-emailavang-php-send-email-apiAvangEmail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avangdev-avang-php-sendemail-api/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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)

PHPackages © 2026

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