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 today

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 26% 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

2304d ago

### Community

Maintainers

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

[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.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NotifyX、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

687114.3k8](/packages/guanguans-notify)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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