PHPackages                             hao/message - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. hao/message

ActiveLibrary[Queues &amp; Workers](/categories/queues)

hao/message
===========

push message

1.1(4y ago)037MITPHPPHP &gt;=7.0

Since Oct 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/JZhao1020/message)[ Packagist](https://packagist.org/packages/hao/message)[ Docs](https://github.com/JZhao1020/message)[ RSS](/packages/hao-message/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

message
=======

[](#message)

消息推送

开源地址
----

[](#开源地址)

\##1.安装

```
composer require hao/message

```

\##2.实例化

```
$message = new \message\Message();

```

\##2.1 验证码发送

```
$message->gateway('email','cn')->sendCode('18816784184@163.com');

```

\##2.2 内容推送

```
$message->gateway('email','cn')->sendText('18816784184@163.com', 'invest_success', ['product_name' => '定期产品']);

```

\##3.可用类型

```
---------------------------
类型      -- 验证码  -- 内容
---------------------------
短信      -- 是     -- 否
---------------------------
邮件      -- 是     -- 是
---------------------------
极光      -- 否     -- 是
---------------------------

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~144 days

Total

3

Last Release

1787d ago

Major Versions

0.1.3 → 1.0.02020-10-27

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

message

### Embed Badge

![Health badge](/badges/hao-message/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k132.3M1.0k](/packages/php-amqplib-php-amqplib)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

10.2k3.5k](/packages/leantime-leantime)[aws/aws-php-sns-message-validator

Amazon SNS message validation for PHP

22223.4M118](/packages/aws-aws-php-sns-message-validator)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)

PHPackages © 2026

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