PHPackages                             sinri/mwsms-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sinri/mwsms-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sinri/mwsms-client
==================

梦网平台短信接口

0.1(9y ago)1111MITPHPPHP &gt;=5.4.0

Since Mar 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sinri/mwsms-client)[ Packagist](https://packagist.org/packages/sinri/mwsms-client)[ RSS](/packages/sinri-mwsms-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

mwsms-client
============

[](#mwsms-client)

梦网平台短信接口，对应文档3.4，采用HTTP POST方式实现。

Usage
-----

[](#usage)

```
// 由autoload控制，也可以自行引用
require_once 'MWSMSClient.php';
// 建立client
$params=[
    "api"=>'http://test.com:9006/MWGate/wmgw.asmx',
    "user"=>'U',
    "password"=>'P',
];
$client = new \sinri\mwsmsclient\MWSMSClient($params);

//群发短信
$result=$client->doMongateSendSubmit(['13000000000','18000000000'],"同事您好，感谢您对此次测试的配合。123456");
var_export($result);
/*
array (
  'done' => true, //是不是有错
  'request_id' => '1490775230135809251990',//发送方 MsgId
  'data' => '4521856470400363903',//成功，接收方 SmsId 或者失败，错误信息
)
*/

//查还有几条能发
$result=$client->doMongateQueryBalance();
var_export($result);

//查询上行
$result=$client->doMongateGetDeliverForSubmit();
var_export($result);

//查询发送状况
$result=$client->doMongateGetDeliverForDeliver();
var_export($result);
```

虚无……

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

3373d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5821330?v=4)[Everstray Jun Sinri Edogawa](/maintainers/sinri)[@sinri](https://github.com/sinri)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sinri-mwsms-client/health.svg)

```
[![Health](https://phpackages.com/badges/sinri-mwsms-client/health.svg)](https://phpackages.com/packages/sinri-mwsms-client)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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