As a result of the previous period of time, I have to send text messages in multiple projects, resulting in the need for me to repeat text messages in each project, send results management, and verification code check and other functions.
So the initiation of the laravel to tailor a comprehensive SMS delivery package. The package is initially conceived to support a variety of third-party service providers (such as Cloud, cloud, Luosimao, etc.), and integrated SMS sending and verification code SMS Send/Check module.
Later on the Phphub saw someone suggest that if the text message is sent unsuccessfully or audited, call another service provider to complete the idea. I think this mechanism of improving the success rate of SMS delivery through backup service providers is of great reference value. The package then adds a new backup agent mechanism.
source code and documentation here:
Https://github.com/toplan/laravel-sms
I myself through laravel-sms use the cloud chip network, cloud communication and Luosimao these three agents are no problem, of course there are bugs welcome issue, don't forget star, thanks:)
Usage scenarios:
Send SMS Verification code.
Send SMS message (e.g. order notification, delivery notice, class notice ...).
In special cases, the user does not receive text messages? Laravel-sms advocates the use of two and more than two service providers through a standby agent mechanism.
The package features:
The database records/manages the SMS data and its delivery status.
Compatible template SMS and content SMS.
Support SMS queue.
Standby agent (service provider) mechanism. That is, if a service provider fails to send a text message, it will automatically attempt to send it via a pre-set standby service provider.
Integrated verification Code SMS Send/Check module, minutes to get the verification code SMS sent and mobile phone number/verification code check,
From then on the repeated write verification code SMS send and check the history.
Integration of third-party SMS service providers, welcome to provide more service providers.
The currently supported service providers are:
- Luosimao
- Cloud Slice Network
- Jong Lian • Cloud Communications
- Submail