Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexmanno/messagenet-sms-php

Client for messagenet sms gateway
https://github.com/alexmanno/messagenet-sms-php

Last synced: 6 days ago
JSON representation

Client for messagenet sms gateway

Awesome Lists containing this project

README

        

# messagenet-sms-php
[![Build Status](https://travis-ci.org/alexmanno/messagenet-sms-php.svg?branch=master)](https://travis-ci.org/alexmanno/messagenet-sms-php)
[![codecov](https://codecov.io/gh/alexmanno/messagenet-sms-php/branch/master/graph/badge.svg)](https://codecov.io/gh/alexmanno/messagenet-sms-php)

Client for messagenet sms gateway

# Prerequisites

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

# Installation

```bash
composer require alexmanno/messagenet-sms-php
```

# Usage

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

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

$client->sendSms($message);
```