Download the PHP package sliverwing/alidayu without Composer
On this page you can find all versions of the php package sliverwing/alidayu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package alidayu
Laravel-Alidayu
Usage
composer require sliverwing/alidayu
- add
Sliverwing\Alidayu\AlidayuServiceProvider::class,
to yourconfig/app.php
file php artisan vendor:publish --provider="Sliverwing\Alidayu\AlidayuServiceProvider"
- edit
config/alidayu.php
put your appkey & secretKey - put your sms config in
sms
array - edit your
.env
file and make sure you have properQUEUE_DRIVER
configuration - add
ALIDAYU_APPKEY
andALIDAYU_SECRET
in your.env
file php artisan queue:work
-
edit your controller where you need to send sms
- then you will see result in console
example
-
I have my
config/alidayu.php
like this: - My template is
您的注册码为 ${code}
- I can send my verification code via
Thanks to https://github.com/flc1125/alidayu
All versions of alidayu with dependencies
PHP Build Version
Package Version
Requires
flc/alidayu Version
*
The package sliverwing/alidayu contains the following files
Loading the files please wait ....