alexmanno/messagenet-sms-php

Client for MessageNet.com sms gateway

0.1.3 2019-09-29 18:38 UTC

README

Build Status codecov

Client for messagenet sms gateway

Prerequisites

You need a https://messagenet.com account for use this library.

Installation

composer require alexmanno/messagenet-sms-php

Usage

$client = new \AlexManno\Messagenet\Client\MessageNetClient(
    'YOUR-USER-ID',
    'YOUR-PASSWORD'
);

$message = new \AlexManno\Messagenet\Model\SmsMessage(
    ['DESTINATION-NUMBER'], 
    'TEXT'
);

$client->sendSms($message);