Skip to content

binding for WebSMS.ru sms sending service

License

Notifications You must be signed in to change notification settings

apfox/websms-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Stable Version Latest Unstable Version Total Downloads SensioLabsInsight Scrutinizer Code Quality

WebSMS PHP Library

A tiny library for sending SMS via WebSMS 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

    composer require "scaytrase/websms-php"

Usage

    $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);

About

binding for WebSMS.ru sms sending service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%