PHPackages                             lawyi/baimifan - 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. lawyi/baimifan

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

lawyi/baimifan
==============

1.0.0(10y ago)018MITPHPPHP &gt;=5.4

Since Apr 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lawyi/baimifan)[ Packagist](https://packagist.org/packages/lawyi/baimifan)[ RSS](/packages/lawyi-baimifan/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

baimifan
========

[](#baimifan)

> ...

bmfsms
------

[](#bmfsms)

- 支持 baichuan 发送短信

```
$code   = rand(1000, 9999);
$time   = 5;
$name   = ''; // 尾巴
$mobile = '18267xxxxxx';

$config = [
    'appkey'       => '',
    'secret'       => '',
    'template_id'  => '57', // 模版ID
    'signature_id' => '293', // 签名ID
    'context'      => [  // 模版变量
        'code' => $code,
        'time' => $time,
        'name' => $name,
    ]
];

$res = \Baimifan\Sms::baichuan($config)->to($mobile)->send();

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3761d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9412433?v=4)[lawyi](/maintainers/lawyi)[@lawyi](https://github.com/lawyi)

---

Top Contributors

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

---

Tags

smsbaimifan

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lawyi-baimifan/health.svg)

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

###  Alternatives

[php-smpp/php-smpp

PHP-based SMPP client lib

236206.3k8](/packages/php-smpp-php-smpp)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

491.5M4](/packages/instasent-sms-counter-php)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

5075.0k](/packages/alexandr-mironov-php-smpp)[benmorel/gsm-charset-converter

Converts GSM 03.38 strings to and from UTF-8

16499.6k](/packages/benmorel-gsm-charset-converter)[matthewbdaly/sms-client

A generic SMS client library. Supports multiple swappable drivers.

2294.3k2](/packages/matthewbdaly-sms-client)[midnite81/geolocation

A laravel package which wraps the IP Info DB and IP2Location Services

3725.8k](/packages/midnite81-geolocation)

PHPackages © 2026

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