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

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

zhouyb/sms
==========

send sms package.

01PHPCI failing

Since Oct 31Pushed 6y agoCompare

[ Source](https://github.com/zhouyb-cn/sms)[ Packagist](https://packagist.org/packages/zhouyb/sms)[ RSS](/packages/zhouyb-sms/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 sms
=====

[](#-sms-)

 创蓝253发短信package

Installing
----------

[](#installing)

```
$ composer require zhouyb/sms -vvv
```

Usage
-----

[](#usage)

首先需要先在创蓝253注册账号，获取account和password

```
use Zhouyb\Sms\Sms;

$account = '****';
$password = '****';

$sms = new Sms($account, $password);

$response = $sms->sendSms('133********', '您的验证码为1032，验证码2小时后失效。');

```

参数说明
----

[](#参数说明)

sendSms(string $phone, string $messaghe)

$phone 要发送的手机号码 $message 发送的短信内容

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/zhouyb/sms/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/zhouyb/sms/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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/c1b18aded6c9d94e66f1a1d931f38eac0a57834c5630e84564e08b65ead52b40?d=identicon)[zhouyb-cn](/maintainers/zhouyb-cn)

### Embed Badge

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

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

###  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)
