2017 © Pedro Peláez
 

library sms

Aptg SMS client for Laravel

image

unisharp/sms

Aptg SMS client for Laravel

  • Tuesday, July 31, 2018
  • by g0110280
  • Repository
  • 8 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SMS package for Laravel

Only support APTG SMS for now., (*1)

Installation

    composer require unisharp/sms

Usage

Using facade

Edit .env:, (*2)

    APTG_MDN=xxx
    APTG_UID=yyy
    APTG_UPASS=zzz
    SMS_IS_DRY_RUN=false // If set to true, no sms will be sent. Only log messages are recorded.

Code:, (*3)

    \Sms::send($phone_number, $message); // boolean value is returned.

Pass credentials manually

    $client = new AptgSmsClient('your APTG_MDN', 'your APTG_UID', 'your APTG_UPASS');

    $response = $client->send([$phone_number], $message);  // Instance of AptgClient is returned.

The Versions

31/07 2018

dev-master

9999999-dev

Aptg SMS client for Laravel

  Sources   Download

MIT

The Requires

 

laravel sms aptg