zembrowski / phpsms-poland
This package is abandoned and no longer maintained.
No replacement package was suggested.
Send SMS via Polish mobile carriers using PHP.
0.2.0
2017-05-19 16:36 UTC
Requires
- php: >=5.6
- emanueleminotto/simple-html-dom: ~1.5
- rmccue/requests: ~1.7
Requires (Dev)
- phpunit/phpunit: ~5.7
- satooshi/php-coveralls: ~1.0
This package is not auto-updated.
Last update: 2020-11-24 03:06:08 UTC
README
Send SMS via Polish mobile carriers using Object-Orientated PHP.
Currently only Orange Multibox is supported.
Install
Via Composer
$ composer require zembrowski/phpsms-poland
or
just download src/Orange.php, Requests for PHP, simple_html_dom and require all needed classes like this:
require_once 'Requests.php'; Requests::register_autoloader(); require_once 'simple_html_dom.php'; require_once 'Orange.php';
Usage
With Composer
require_once 'vendor/autoload.php'; $login = 'login'; $password = 'password'; $recipient = '501234567'; $text = 'It works! Thanks :)'; try { $sms = new zembrowski\SMS\Orange(); $sms->login($login, $password); $sms->send($recipient, $text); } catch (Exception $e) { echo '[ERROR] ' . $e->getMessage(); }
See examples folder for advanced function usage.
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT) applies. Please see License File for more information.