PHPackages                             sn01615/yunpian - 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. sn01615/yunpian

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

sn01615/yunpian
===============

云片短信

v1.4.4(7y ago)064Apache-2.0PHP

Since Apr 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sn01615/yunpian-sms)[ Packagist](https://packagist.org/packages/sn01615/yunpian)[ RSS](/packages/sn01615-yunpian/feed)WikiDiscussions master Synced yesterday

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

### 应用场景

[](#应用场景)

1. 云片短信

### Install

[](#install)

```
composer require sn01615/yunpian

```

### Usage

[](#usage)

```
use Yunpian\Yunpian;

$text = "【某某有限公司】您的验证码是#code#";
$text = str_replace('#code#', $code, $text);

$apikey = $_SERVER['CONFIGYUNPIAN'];

$sender = new Yunpian();
$sender->setApiKey($apikey);
$sender->setCurlOpt(
    [
        CURLOPT_CAINFO => __DIR__ . '/../nlibraries/ca-bundle.crt'
    ]);
$result = $sender->singleSend($mobile, $text);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

2

Last Release

2559d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sn01615-yunpian/health.svg)

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[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)

PHPackages © 2026

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