frkcn / turatel
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (1.0.0) of this package.
Laravel package for turatel sms service
1.0.0
2017-01-30 17:23 UTC
This package is auto-updated.
Last update: 2020-09-08 15:12:05 UTC
README
About
Just sending single sms using turatel sms service.
Usage
- Composer :
"frkcn/turatel" : "dev-master"
- App.php include :
Frkcn\Turatel\TuratelServiceProvider::class,
- Config Publish :
php artisan vendor:publish
- Config setting :
Config/turatel.php username, password etc.
- Include Once Before Using :
use Frkcn\Turatel\TuratelController;
- Sample Request For Single Number :
$turatel = new TuratelController();
$turatel->setNumbers("5XXXXXXXXX")
->setMessageBody("test message")
->sendSms();
- Sample Request For Multiple Numbers :
$turatel = new TuratelController();
$turatel->setNumbers("5XXXXXXXXX,5XXXXXXXXX")
->setMessageBody("test message")
->sendSms();