benmorel/messente

Client library for the Messente SMS gateway

Fund package maintenance!
BenMorel

0.1.0 2017-10-02 22:15 UTC

This package is auto-updated.

Last update: 2024-12-21 02:27:41 UTC


README

A PHP client to send SMS messages through the Messente platform.

Latest Stable Version License

Installation

This library is installable via Composer:

composer require benmorel/messente

Requirements

This library requires PHP 7.1 or later.

Quick start

Sending an SMS:

$messente = new Messente('username', 'password');
$messageId = $messente->send('Hello word', '+441234567890'); // optionally provide the sender number

Querying an SMS status:

$messente->getStatus($messageId); // 'SENT', 'FAILED' or 'DELIVERED'