mrgoon/aliyun-sms
A Laravel integration for Aliyun (Alibaba Cloud) SMS that simplifies sending verification codes, notifications, and transactional messages. Configure your credentials and send SMS through a clean, familiar Laravel API with minimal setup.
SendSms/QuerySendDetails, which is enough to answer "can we deliver an OTP to a +86 number this quarter?" without committing to a vendor SDK migration.Consider only if all of the following hold:
composer.json constraints actually resolve in your lockfile — verify this first; it is the most likely hard blocker.Look elsewhere if any of the following are true:
illuminate/support and PHP constraints; forcing it in means --ignore-platform-reqs hacks that will break at the next upgrade. This alone disqualifies it for most current projects.alibabacloud/dysmsapi-20170525 SDK (vendor-maintained, current signing, all API operations) or a maintained Laravel notification channel that wraps it and gives you Notification-based, queue-aware sending.Practical guidance: spend the half-day spike on the official Aliyun SDK instead. The wrapper's entire value is saving you ~50 lines of signature and request-assembly code — not worth an unsupported dependency in the auth path.
To executives (30 seconds): We evaluated a community PHP library for Alibaba Cloud SMS, which is the standard way to reach Chinese mobile numbers for verification codes and order notifications. It works for a quick proof of concept but has been unmaintained since 2017, has no downstream users in the ecosystem, and will not survive our framework upgrade path. Recommendation: use it at most for a one-week feasibility spike; budget roughly 2–3 engineer-days to adopt Alibaba Cloud's officially supported SDK instead, which carries no vendor risk and covers the same use cases plus delivery reporting. The real cost here isn't code — it's template registration and compliance ops, which we pay either way.
To engineering (the ask): Treat this repo as reference documentation, not a dependency. Validate with it that our Aliyun account, signature, and template codes work end-to-end against SendSms. Then build the production path on alibabacloud/dysmsapi-20170525 behind a small internal interface (SmsSender::send(template, params, to)), so we can add a second provider or swap SDKs without touching product code. Wrap it in a queued job with retries, exponential backoff, per-phone-number rate limiting, and error-code translation to user-facing states. Log every send with a message ID so support can trace delivery. Do not let this become the third unmaintained vendor shim in the codebase — if we adopt it, we own it, and nobody is going to own it.
Bottom line: low opportunity score, zero dependents, seven-year-old release — the package is a useful artifact for understanding the Aliyun SMS contract and a poor choice for production. Approve a spike, reject the dependency.
How can I help you explore Laravel packages today?