foxlaby / smslaby-laravel-client
You can send sms through a our server using your sender id encryption key.
v1.1.1
2020-09-26 11:23 UTC
Requires
- php: ^7.0
- laravel/framework: ^7.0 || ^8.0
This package is auto-updated.
Last update: 2024-10-26 20:41:32 UTC
README
You can send sms through a our server using your sender id by encryption key.
Install via composer
$ composer require foxlaby/smslaby-laravel-client
Use
$sms = smslaby() ->lang('ar') ->to('01×××××××××') // ->sandbox(true) ->message('body');
Hash Key:-
Add a value you choose but you must add this value in a .env file
SMSLABY_HASH_KEY=<hash_key>
Methods:-
- lang: Add lang alpha-2 (ar|en).
- to: Add the recipient number.
- sandbox: For trial only, in this case the message will not be sent to the recipient but to our dashboard.
- message: Message content.