Looking to hire Laravel developers? Try LaraJobs

sms-aero-v2-laravel maintained by cooperav

Description
Package for using service messages in Laravel-5
Author
Last update
2019/01/17 16:50 (dev-master)
License
Links
Downloads
6 506
Tags

Comments
comments powered by Disqus

SmsAero-v2-laravel

SMS Aero for laravel API version 2.

    // Create SmsAero instance.
    $oSMSAero = new SmsAero('login','api_key');        
    // We can use it with config file f.e.
    // config('smsaero.login') and config('smsaero.api_key')
    
    // Set receiver's phone number.
    $phone_number = '111111111';
    
    // Set message content.
    $message = 'SMS Aero';
    
    // Sending channels.
    $type = 'DIRECT'; // In docuimentation describe other types.
    // To send message to another countries need use 'INTERNATIONAL' type.
    
    // Send message.
    $response = $oSMSAero->send($phone_number, $message, $type);
    
    // Default response data -> json. However we can get response in XML format.