# overtrue/easy-sms

📲 一款多渠道的短信发送轮子

Repository: https://github.com/overtrue/easy-sms
Canonical: https://ross.abutalabs.com/products/easy-sms
Language: PHP
License: MIT
License Family: permissive
Topics: sms, sms-gateway, sms-client, php-sms
Last push: 2026-05-07T13:51:24+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 50, longevity 100
- inputs: {"age_days": 3464, "days_push": 118, "days_rel": 258, "gap_med": 89, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3334, forks 560 (observed 2026-08-28T04:07:56.713931+00:00)

## What it is
A PHP library that provides a unified API for sending SMS messages through dozens of Chinese and international SMS gateway providers (Alibaba Cloud, Tencent Cloud, Yunpian, SendCloud, Huawei Cloud, and many more). It supports configurable gateway strategies such as ordered or round-robin failover, so a message is automatically retried across providers until one succeeds.

## Use cases
- send sms verification codes from a php application
- send text messages through multiple sms providers with one api
- failover between sms gateways when one provider is down
- integrate aliyun or tencent cloud sms into a php project
- unify sms sending code across different chinese sms vendors
- add sms notifications to a laravel or php web app

## When to choose
- your PHP application needs to send SMS via Chinese SMS providers
- you want a single consistent API across many SMS gateways
- you need automatic failover or round-robin across multiple SMS providers
- you want uniform return values for logging and monitoring of SMS sends

## When to avoid
- you need to send SMS from a non-PHP stack
- you only use a single international provider like Twilio and want a direct SDK
- you need two-way SMS, voice calls, or rich messaging rather than simple SMS sending
- your runtime must be older than PHP 8.4

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, developer-tools
- domain: messaging-platforms, apis, backend
- platform: php, cross-platform
- tags: sms, sms-gateway, sms-client, multi-gateway, failover-strategy, chinese-sms-providers, notification, composer-package, messaging

## Member repositories
- overtrue/easy-sms (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.713931+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:41:27.788133+00:00, confidence not recorded.
  - readme: https://github.com/overtrue/easy-sms (fetched 2026-08-28T04:07:56.713931+00:00, sha 97797b5a7581)
- Data as of 2026-08-30T08:39:29.467469+00:00.
