PHPackages                             yucheng0610/smsbao - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yucheng0610/smsbao

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yucheng0610/smsbao
==================

Webman plugin yucheng0610/smsbao

00HTML

Since Feb 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yucheng0610/smsbao)[ Packagist](https://packagist.org/packages/yucheng0610/smsbao)[ RSS](/packages/yucheng0610-smsbao/feed)WikiDiscussions main Synced yesterday

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

webman短信宝插件
===========

[](#webman短信宝插件)

基于webman开发的短信宝插件smsbao.com

说明
==

[](#说明)

开发说明
----

[](#开发说明)

按照webman基础插件开发规范开发，包括短信模板管理、短信账号配置、短信测试、余额查询功能；

支持类型
----

[](#支持类型)

支持短信宝国内、国际、语音短信发送；支持ssl配置

使用方法：
-----

[](#使用方法)

`use plugin\smsbao\api\Smsbao; $sms = new Smsbao(); $result = $sms->sendByTemplate($phone,'captcha',$type,['code'=>$code]);`

### sendByTemplate参数说明

[](#sendbytemplate参数说明)

1、四个参数分别是：手机号、模板名、短信类型、参数 2、国内手机号无需区号，国际手机号格式+866999999999； 3、模板名：后台配置的模板名称，只能是字母； 4、短信类型：1国内、2国际、3语音 5、短信内容里的参数，数组格式

[![Image](https://github.com/users/yucheng0610/projects/2/assets/25238810/df6eb4e4-5b1e-4358-abbc-ac6cf1c1429e)](https://github.com/users/yucheng0610/projects/2/assets/25238810/df6eb4e4-5b1e-4358-abbc-ac6cf1c1429e)

[![Image](https://github.com/users/yucheng0610/projects/2/assets/25238810/9c058a9c-fef8-41a4-968a-a211d9c43f16)](https://github.com/users/yucheng0610/projects/2/assets/25238810/9c058a9c-fef8-41a4-968a-a211d9c43f16)

[![Image](https://github.com/users/yucheng0610/projects/2/assets/25238810/ba2cb848-2f1d-4f06-bf64-adbc6ef3d90c)](https://github.com/users/yucheng0610/projects/2/assets/25238810/ba2cb848-2f1d-4f06-bf64-adbc6ef3d90c)

[![Image](https://github.com/users/yucheng0610/projects/2/assets/25238810/28b20afc-7ddc-4cfc-96cd-66383624953f)](https://github.com/users/yucheng0610/projects/2/assets/25238810/28b20afc-7ddc-4cfc-96cd-66383624953f)

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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/ff7fc1ae50558b61529a50da02e81727537ea97f7c87102937b0e28b12058fd1?d=identicon)[yucheng0610](/maintainers/yucheng0610)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yucheng0610-smsbao/health.svg)

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

###  Alternatives

[nahid/qarray

QArray is a PHP abstraction for querying array

108415.2k2](/packages/nahid-qarray)[helmich/schema2class

Build PHP classes from JSON schema definitions

36147.8k](/packages/helmich-schema2class)[smithfield-studio/acf-svg-icon-picker

Add ACF field for selecting SVG icons.

3912.9k](/packages/smithfield-studio-acf-svg-icon-picker)[luilliarcec/laravel-username-generator

Laravel Username Generator is a package that allows the versatile generation of user names, has a simple integration with Laravel.

1112.1k](/packages/luilliarcec-laravel-username-generator)

PHPackages © 2026

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