Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexmanno/messagenet-sms-php
- Owner: alexmanno
- License: apache-2.0
- Created: 2019-09-29T17:21:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T12:32:38.000Z (over 1 year ago)
- Last Synced: 2024-10-30T08:21:42.161Z (about 2 months ago)
- Language: PHP
- Homepage: https://messagenet.com
- Size: 65.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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);
```