https://github.com/scaytrase/websms-php
binding for WebSMS.ru sms sending service
https://github.com/scaytrase/websms-php
sms sms-client websms
Last synced: 3 months ago
JSON representation
binding for WebSMS.ru sms sending service
- Host: GitHub
- URL: https://github.com/scaytrase/websms-php
- Owner: scaytrase
- License: gpl-2.0
- Created: 2015-05-09T16:58:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T07:10:53.000Z (almost 6 years ago)
- Last Synced: 2025-02-14T04:48:39.710Z (5 months ago)
- Topics: sms, sms-client, websms
- Language: PHP
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/scaytrase/websms-php)
[](https://packagist.org/packages/scaytrase/websms-php)
[](https://packagist.org/packages/scaytrase/websms-php)
[](https://packagist.org/packages/scaytrase/websms-php)
[](https://insight.sensiolabs.com/projects/39774f8b-ef2b-4b6c-a675-1b4803d7f538)
[](https://scrutinizer-ci.com/g/scaytrase/websms-php/?branch=master)# WebSMS PHP Library
A tiny library for sending SMS via [WebSMS](http://websms.ru/) gateway.
This gateway requires you to be registered in order to send SMS.## Installation
The best way to handle dependencies is to use Composer
### Composer
```bash
composer require "scaytrase/websms-php"
```## Usage
```php
$driver = new JsonDriver();
$connection = new Connection($driver, 'username', 'secret');
// Optionally check that connection runs well
// $connection->verify();
// echo $connection->getBalance();
$message = new Message('+79991234567', 'test message');
$connection->send($message);
```