PHPackages                             nanziok/smpp-hyperf - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. nanziok/smpp-hyperf

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nanziok/smpp-hyperf
===================

MSProGateWay is a lightweight, ultra-high-performance SMS gateway written based on PHP + Swoole + Hyperf. It supports the SMPP V3.4 protocol and is used to build an SMS service platform based on the SMPP protocol. It can also be used as a client.

v1.0.6(8mo ago)010Apache-2.0PHPPHP &gt;=8.0

Since Oct 16Pushed 8mo agoCompare

[ Source](https://github.com/nanziok/smpp-hyperf)[ Packagist](https://packagist.org/packages/nanziok/smpp-hyperf)[ RSS](/packages/nanziok-smpp-hyperf/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (8)Used By (0)

MSProGateWay(SMPP Server+Client)
================================

[](#msprogatewaysmpp-serverclient)

[![MSProGateWay License](https://camo.githubusercontent.com/9bdc875302b5b4347098d717e94ebfce822b57cc7a95d030f54eb316b1580dd8/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c652d73776f6f6c652f73696d70732f6c6963656e7365)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/315f5c30e505b9ccc4178451bbd34c2ba5d281d1fa3267304053ed19ab634125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e737667)](https://www.php.net)[![Swoole Version](https://camo.githubusercontent.com/046f897c88711f3a7eee1f3ec540eb9b7bf0eeb755d67e92e6093761f0b2f12a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73776f6f6c652d2533453d342e342e302d627269676874677265656e2e737667)](https://github.com/swoole/swoole-src)

🚀MSProGateWay 是一个基于PHP + Swoole + Hyperf编写的轻量级，超高性能短信网关，支持SMPP V3.4协议，用于搭建基于SMPP协议的短信服务平台，亦可做为客户端使用。

### 🛠️环境依赖

[](#️环境依赖)

- Swoole 4.4+
- PHP 7.1+

### ⚙️安装

[](#️安装)

```
composer require jenawant/smpp
```

### ⚡️独立启动SMPP模拟器（服务端/客户端）

[](#️独立启动smpp模拟器服务端客户端)

- 安装`Swoole4.4+`扩展和`PHP7.1+` 并`clone`本项目
- `cd demo`
- 参考`config-sample.ini`生成`config.ini`配置文件，按需修改配置文件
- `php server.php`启动服务端
- `php client.php 1 2`启动客户端模拟发送短信，测试性能。第一个参数代表启动多少个连接 第二个参数代表发送多少条短信

### ⚡️Hyperf框架内使用

[](#️hyperf框架内使用)

- 参考 [Tcp Server配置](https://hyperf.wiki/3.1/#/zh-cn/tcp-server) 章节创建业务类，并参考`demo/server.php`中的逻辑完善业务类
- 执行命令发布配置`php bin/hyperf.php vendor:publish jenawant/smpp`，修改配置文件config/autoload/smpp.php中`callbacks`业务类路径
- 参考 [Tcp Server配置](https://hyperf.wiki/3.1/#/zh-cn/tcp-server) 章节编辑服务器配置，指定端口及回调控制器路径
- 重启服务

> demo基于配置文件.ini，实际项目可从config/autoload/smpp.php获取配置。

### 😇鸣谢

[](#鸣谢)

- [Swoole PHP协程框架](https://www.swoole.com)
- [Hyperf 一款高性能企业级协程框架](https://hyperf.io/)
- [Smpp simulate](https://gitee.com/wolian-message/simulater)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance59

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.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

Every ~0 days

Total

7

Last Release

259d ago

### Community

Maintainers

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

---

Top Contributors

[![nanziok](https://avatars.githubusercontent.com/u/68459056?v=4)](https://github.com/nanziok "nanziok (8 commits)")[![jenawant](https://avatars.githubusercontent.com/u/3059179?v=4)](https://github.com/jenawant "jenawant (7 commits)")

---

Tags

phpswoolesmpphyperf

### Embed Badge

![Health badge](/badges/nanziok-smpp-hyperf/health.svg)

```
[![Health](https://phpackages.com/badges/nanziok-smpp-hyperf/health.svg)](https://phpackages.com/packages/nanziok-smpp-hyperf)
```

###  Alternatives

[hyperf/hyperf

A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

6.9k3.3k2](/packages/hyperf-hyperf)[hyperf/http-server

A HTTP Server for Hyperf.

103.0M371](/packages/hyperf-http-server)[hyperf/websocket-server

A websocket server library for Hyperf.

12524.7k31](/packages/hyperf-websocket-server)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

7262.8k](/packages/swoole-bundle-swoole-bundle)

PHPackages © 2026

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