namshi/smscountry

This small library provides support for sending Sms messages via SMSCountry

2.0.2 2023-03-01 11:52 UTC

This package is not auto-updated.

Last update: 2024-11-06 19:58:26 UTC


README

Build Status

This small library provides support for sending Sms messages via SMSCountry

Installation

Installation can be done via composer, as the library is already on packagist.

The library uses semantic versioning for its API, so it is recommended to use a stable minor version (1.0, 1.1, etc.) and stick to it when declaring dependencies through composer:

"namshi/smscountry": "1.0.*",

Pick major and minor version according to your needs.

Usage

Using this library is super easy:

<?php

use Namshi\SMSCountry\Client;

$smsClient = new Client($username, $password, $senderId, $soapService);

$smsClient->sendSms($phoneNumber, $body);