alexmanno/messagenet-sms-php

Client for MessageNet.com sms gateway

0.1.4 2022-03-30 07:31 UTC

This package is auto-updated.

Last update: 2024-11-20 15:44:14 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);