Flexible and reliable and efficient sms sending package laravel-sms because I had to send text messages in multiple projects some time ago, I had to write and send text messages repeatedly in each project, sending result management, verification code, and other functions.
Therefore, a comprehensive SMS package was designed for laravel. This package initially conceived to support a variety of third-party service providers (such as cloud film, cloud communication, Luosimao, etc.), and integrated the text message sending and verification code text message sending/verification module.
Later, on phphub, I saw someone proposing the idea of calling another service provider to complete text message sending failure or being reviewed. I think this mechanism to improve the success rate of text message sending through the backup service provider is of great reference value. As a result, the package has a new standby proxy mechanism.
The source code and documentation are here:
Https://github.com/toplan/laravel-sms
I have used the cloud film network through laravel-sms by myself. there are no problems with the three proxies, cloud communication and Luosimao. of course, if you have any bugs, please submit an issue. Don't forget star. thanks :)
Use cases:
Send SMS verification code.
Send SMS messages (such as order notifications, delivery notifications, class notifications ...).
Why can't users receive text messages in special circumstances? Laravel-sms advocates using two or more service providers through the backup proxy mechanism.
Features of this package:
The database records/manages text message data and its sending status.
Supports template text messages and content text messages.
SMS queue is supported.
Backup proxy (service provider) mechanism. That is, if an SMS fails to be sent by a service provider, it will be automatically sent by the preset backup service provider.
The verification code text message sending/verification module is integrated to handle the verification code text message sending and mobile phone number/verification code verification in minutes,
From then on, I will say goodbye to the text message sending and verification history of repeated verification codes.
Integrate with third-party SMS service providers. more service providers are welcome.
Currently, the following service providers are supported:
- Luosimao
- Cloud slice network
- Ronglian · Cloud Communication
- SUBMAIL