adil / atasms
Easily sending sms with AtaTexnologiya SMS Api
2.1
2017-09-05 12:31 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.8.9
This package is not auto-updated.
Last update: 2025-06-08 07:56:58 UTC
README
Easily sending sms with AtaTexnologiya SMS Api
Installation
With Composer
$ composer require adil/atasms
{ "require": { "adil/atasms": "~2.0" } }
<?php require 'vendor/autoload.php'; use AtaTexnologiya\Sms; ## Usage
Usage
<?php // require autoload file require 'vendor/autoload.php'; // import library use AtaTexnologiya\Sms; // sending sms now (new Sms()) ->login('login') // your login ->password('pass') // your password ->title('iAdil') // your title ->number('+0000') // sending sms number ->text('Sending sms!') // sending sms text ->send(); // send
Schedule sms sending
(new Sms()) ->login('login') // your login ->password('pass') // your password ->title('iAdil') // your title ->number('+0000') // sending sms number ->text('Sending sms!') // sending sms text ->schedule('2018-08-08 12:00:00') // when sms will be send ->send(); // send