Categories
Laravel

laravel sms api

Configure Content

Non-template channels that can be customized via config/ibrand/sms.php ‘content’ and ‘you signature Dear user, your verification code is %s. Valid for %s minutes, please verify as soon as possible.


debug

In real-world development there is a situation where a verification code is not actually issued, so in debug mode, you can

http://your.domain/api/sms/info?mobile=1898888XXXX to look directly at the current valid verification code information for a cell phone number.
database log

Support is now being supported for saving the send record to the database and performing the php artisan migrate to generate the laravel?sms-log table. Set dblog to true at config/ibrand/sms.php at the same time

Leave a Reply

Your email address will not be published. Required fields are marked *