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

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

hong/sms
========

aliyun send sms

04[2 PRs](https://github.com/liu1490911423/sendSms/pulls)PHP

Since Apr 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/liu1490911423/sendSms)[ Packagist](https://packagist.org/packages/hong/sms)[ RSS](/packages/hong-sms/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

sendSms
=======

[](#sendsms)

安装 composer require hong/sms @dev

aliyun send sms

use Sms\\sendSms;

class Message{

```
private $send;

function __construct(){

    //短信配置
    $config=[
        'key'=>'',
        'secret'=>'',
        'region_id'=>'cn-hangzhou',
        'sign_name'=>'',
        'template_code'=>'',
        'product'=>'Dysmsapi',
        'version'=>'2017-05-25',
        'host'=>'dysmsapi.aliyuncs.com',
    ];

    //App推送配置
    $config1=[
        'key'=>'',
        'secret'=>'',
        'region_id'=>'cn-hangzhou',
        'product'=>'Push',
        'version'=>'2016-08-01',
        'host'=>'cloudpush.aliyuncs.com',
        'app_key'=>'',
    ];

    $this->init($config);
}

private function init($config){

   $this->send = new sendSms($config);

}

public function send($info){

    $result = $this->send->sendSms($info);
    return $result;
}

```

}

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![liu1490911423](https://avatars.githubusercontent.com/u/37732863?v=4)](https://github.com/liu1490911423 "liu1490911423 (14 commits)")

### Embed Badge

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

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

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

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