platolin / twsms-sender
The Twsms SMS sending PHP 5.3 library.
v1.4
2020-03-04 02:15 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 4.*
README
Twsms 簡訊發送
Installation
composer require platolin/twsms-sender
The recommended way to install SmsSender is through composer.
Just create a composer.json
file for your project:
{ "require": { "platolin/twsms-sender": "~1.0" } }
Usage
<?php $longsms ='N'; $TwsmsSender = new TwSmsSender('username','password'); $result = $TwsmsSender->send('0975000000', 'test sms message', '201612312359' ,$longsms);