PHPackages                             evaengine/eva-sms - 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. evaengine/eva-sms

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

evaengine/eva-sms
=================

0.2.0(10y ago)81.1k51New-BSDPHP

Since Feb 3Pushed 9y ago3 watchersCompare

[ Source](https://github.com/EvaEngine/EvaSms)[ Packagist](https://packagist.org/packages/evaengine/eva-sms)[ RSS](/packages/evaengine-eva-sms/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (7)Used By (1)

EvaSms
======

[](#evasms)

[![Latest Stable Version](https://camo.githubusercontent.com/fb5e0f63aa9007888f1ec133086391a78f98b763993f2be81fa8ae5200375da2/68747470733a2f2f706f7365722e707567782e6f72672f657661656e67696e652f6576612d736d732f762f737461626c652e737667)](https://packagist.org/packages/evaengine/eva-sms)[![License](https://camo.githubusercontent.com/24ba9b095674852d38217582d9c659e16049af5ff4f7fd6b1f60f663f14a6739/68747470733a2f2f706f7365722e707567782e6f72672f657661656e67696e652f6576612d736d732f6c6963656e73652e737667)](https://packagist.org/packages/evaengine/eva-sms)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/222e333a17f0d2d871ce58ab998c66c14e377fbe8ec036664fd4a90603568ef7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f457661456e67696e652f457661536d732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/EvaEngine/EvaSms/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/074f919f9b4ab20b10fd452671ad4f02dbd5a7d11ed2aca626263566205fa031/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f457661456e67696e652f457661536d732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/EvaEngine/EvaSms?branch=master)[![Build Status](https://camo.githubusercontent.com/e7525f9e5fdc62367012bc15d57de07ba980072bad5cbd3cf59288f86ca373ed/68747470733a2f2f7472617669732d63692e6f72672f457661456e67696e652f457661536d732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/EvaEngine/EvaSms)

统一接口设计的短信发送库。

支持以下第三方短信接口服务：

- [Submail](http://submail.cn/)

使用方法
----

[](#使用方法)

在composer.json中加入`"evaengine/eva-sms": "dev-master"`

代码示例:

```
$sender = new \Eva\EvaSms\Sender();
$sender::setDefaultTimeout(30); //设置默认超时时间，可省略
$sender->setProvider(new \Eva\EvaSms\Providers\Submail('AppID', 'AppKey'));

//基于模版发送短信
$result = $sender->sendTemplateMessage(
    'PhoneNumber', //手机号,目前只支持带国际区号的完整手机号，如 +8618512345678
    'TemplateID', //模版ID
    ['number' => '765321'] //模版变量
);

//发送自定义短信
$result = $sender->sendStandardMessage(
    'PhoneNumber', //手机号
    'ABC', //短信内容
);

var_dump($result); //显示发送结果
echo $result; //发送结果可以转换为字符串方便Log纪录
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

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 ~57 days

Recently: every ~70 days

Total

6

Last Release

3883d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/176019?v=4)[AlloVince](/maintainers/AlloVince)[@AlloVince](https://github.com/AlloVince)

---

Top Contributors

[![AlloVince](https://avatars.githubusercontent.com/u/176019?v=4)](https://github.com/AlloVince "AlloVince (22 commits)")

### Embed Badge

![Health badge](/badges/evaengine-eva-sms/health.svg)

```
[![Health](https://phpackages.com/badges/evaengine-eva-sms/health.svg)](https://phpackages.com/packages/evaengine-eva-sms)
```

###  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.3M46](/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)
