# dromara/SMS4J

让简单的事情回归简单的本质。 SMS4J为短信聚合框架，帮您轻松集成多家短信服务，解决接入多个短信SDK的繁琐流程。 目前已接入数家常见的短信服务商，后续将会继续集成。后续的版本中我们还将推出更多的相关功能 你的 ⭐️ ⭐️⭐️Star⭐️⭐️ ⭐️，是我的动力！如果你觉得还不错，请点上一颗小星星

Repository: https://github.com/dromara/SMS4J
Canonical: https://ross.abutalabs.com/products/sms4j
Homepage: https://sms4j.com
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, sms, springboot, solon
Last push: 2026-06-25T13:59:20+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 35, longevity 89
- inputs: {"age_days": 1258, "days_push": 69, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1279, forks 163 (observed 2026-08-28T04:04:13.528036+00:00)

## What it is
SMS4J is a Java SMS aggregation framework that unifies the APIs of many Chinese SMS providers (Aliyun, Tencent Cloud, Huawei Cloud, and 20+ others) behind a single interface. Providers can be switched or load-balanced purely through YAML configuration without code changes, with Spring Boot and Solon starters included.

## Use cases
- send SMS verification codes from a Java Spring Boot app
- integrate multiple SMS providers behind one unified API
- switch SMS vendors by changing config instead of code
- load-balance SMS sending across several providers
- avoid learning each SMS provider's SDK
- send template-based SMS messages in Java

## When to choose
- you're on the JVM (Spring Boot or Solon) and need SMS sending
- you want vendor-agnostic SMS with config-driven provider switching
- you use Chinese SMS providers like Aliyun, Tencent, or Huawei Cloud
- you need multiple provider configs with load balancing or failover

## When to avoid
- you need SMS outside China or providers not in its supported list
- you're not on the Java/JVM ecosystem
- you need full-featured vendor-specific capabilities beyond the unified abstraction
- you need two-way SMS, MMS, or advanced messaging features

## Facets
- artifact type: library
- maturity: active
- function: sdk, middleware, configuration-management
- domain: developer-tools, backend, apis
- platform: jvm, cross-platform
- tags: sms, sms-aggregation, sms-provider, spring-boot-starter, unified-api, notification, java, messaging, springboot, solon

## Member repositories
- dromara/SMS4J (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.528036+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-30T05:02:41.103622+00:00, confidence not recorded.
  - readme: https://github.com/dromara/SMS4J (fetched 2026-08-28T04:04:13.528036+00:00, sha 50de3d2b0480)
  - homepage: https://sms4j.com (fetched 2026-08-29T12:13:18.082821+00:00, sha c36b00db7366)
- Data as of 2026-08-30T08:39:29.467469+00:00.
