PHPackages                             ccwawamiya/chuanglan - 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. ccwawamiya/chuanglan

ActiveLibrary

ccwawamiya/chuanglan
====================

this is chuanglansmsapi

3.1(3y ago)09MITPHP

Since Nov 3Pushed 3y agoCompare

[ Source](https://github.com/ccwawamiya/chuanglan)[ Packagist](https://packagist.org/packages/ccwawamiya/chuanglan)[ RSS](/packages/ccwawamiya-chuanglan/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

### 使用说明

[](#使用说明)

```
$clapi = new \Chuanglan\ChuanglanSmsApi($config);
$code = mt_rand(1000, 9999);
$string = '【创蓝科技】您好！验证码是:' . $code;
//设置您要发送的内容：其中“【】”中括号为运营商签名符号，多签名内容前置添加提交
$result = $clapi->sendSMS($phone, $string, true);
if (!is_null(json_decode($result))) {
  $output = json_decode($result, true);
  if (isset($output['code']) && $output['code'] == '0') {
    return array('status' => true, 'msg' => '发送成功');
  } else {
    return array('status' => false, 'msg' => '发送失败');
  }
} else {
  return array('status' => false, 'msg' => '发送失败');
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

1287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04153f449a8afa0a2dc6bedeebb2e38c6e36694bb95af529656d8ee10cf1d39b?d=identicon)[ccwawamiya](/maintainers/ccwawamiya)

---

Top Contributors

[![code-lives](https://avatars.githubusercontent.com/u/79346591?v=4)](https://github.com/code-lives "code-lives (12 commits)")[![ccwawamiya](https://avatars.githubusercontent.com/u/13670137?v=4)](https://github.com/ccwawamiya "ccwawamiya (1 commits)")

### Embed Badge

![Health badge](/badges/ccwawamiya-chuanglan/health.svg)

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

PHPackages © 2026

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